INNER CODE UNIT · C++
status
epsilla-cloud/vectordb · engine/db/db_mvp.cpp:85
auto status = table->Rebuild(db_catalog_path_);
if (!status.ok()) {
logger_.Error("Rebuild table " + table->table_schema_.name_ + " failed.");
}
}
}
return Status::OK();
}
Status DBMVP::SwapExecutors() {
// Loop through all tables and swap executors
for (int64_t i = 0; i < tables_.size(); ++i) {
std::shared_ptr<TableMVP> table = tables_[i];
if (table != nullptr) {
auto status = table->SwapExecutors();
if (!status.ok()) {
logger_.Error("Swap executors for table " + table->table_schema_.name_ + " failed.");
}