INNER CODE UNIT · C++

status

epsilla-cloud/vectordb · engine/db/db_server.cpp:234

      auto status = db->Rebuild();
      if (!status.ok()) {
        logger_.Error("Rebuild db to " + db->db_catalog_path_ + " failed.");
      }
    }
  }
  return Status::OK();
}

Status DBServer::SwapExecutors() {
  // Loop through all dbs and swap executors
  for (int64_t i = 0; i < dbs_.size(); ++i) {
    std::shared_ptr<DBMVP> db = dbs_[i];
    if (db != nullptr) {
      auto status = db->SwapExecutors();
      if (!status.ok()) {
        logger_.Error("Swap executors for db of " + db->db_catalog_path_ + " failed.");
      }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…