提交 6b15e34b 编写于 作者: P peng.xu

feat(db): disable call start build index task in build index


Former-commit-id: 4af68547957695eed042a2a276acf73fd9a7f724
上级 c6d38f0a
......@@ -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++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册