mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Merge branch 'yuncong' into 'branch-0.3.1-yuncong'
MS-197: Add build index api See merge request megasearch/milvus!183 Former-commit-id: 1294a120719a8ca7ae12e2ce3b0c23b9484dbb45
This commit is contained in:
commit
5e45331894
@ -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