From 6b15e34ba67bb8d8be6a8dbe71fa30b664b378a8 Mon Sep 17 00:00:00 2001 From: "peng.xu" Date: Wed, 10 Jul 2019 11:49:33 +0800 Subject: [PATCH] feat(db): disable call start build index task in build index Former-commit-id: 4af68547957695eed042a2a276acf73fd9a7f724 --- cpp/src/db/DBImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/db/DBImpl.cpp b/cpp/src/db/DBImpl.cpp index 6f6cfcb81b..6981ca93e2 100644 --- a/cpp/src/db/DBImpl.cpp +++ b/cpp/src/db/DBImpl.cpp @@ -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++;