INNER CODE UNIT · C++

status

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

  vectordb::Status status = meta_->DropTable(db_name, table_name);
  if (!status.ok()) {
    return status;
  }
  return GetDB(db_name)->DeleteTable(table_name);
}

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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…