mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-30 15:35:33 +08:00
feat(db): disable call start build index task in build index
Former-commit-id: 4af68547957695eed042a2a276acf73fd9a7f724
This commit is contained in:
parent
c6d38f0af2
commit
6b15e34ba6
@ -438,7 +438,7 @@ Status DBImpl::BuildIndex(const std::string& table_id) {
|
||||
while (has) {
|
||||
ENGINE_LOG_DEBUG << "Non index files detected! Will build index " << times;
|
||||
meta_ptr_->UpdateTableFilesToIndex(table_id);
|
||||
StartBuildIndexTask(true);
|
||||
/* StartBuildIndexTask(true); */
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(std::min(10*1000, times*100)));
|
||||
meta_ptr_->HasNonIndexFiles(table_id, has);
|
||||
times++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user