未验证 提交 19a9d0d1 编写于 作者: G groot 提交者: GitHub

revert code (#2525)

* revert code
Signed-off-by: Nyhmo <yihua.mo@zilliz.com>

* changelog
Signed-off-by: Nyhmo <yihua.mo@zilliz.com>
上级 7092c85b
......@@ -6,7 +6,6 @@ Please mark all change in change log and use the issue from GitHub
## Bug
- \#2367 Fix inconsistent reading and writing when using mishards
- \#2368 Make read node detect delete behavior
- \#2373 Build index for small segment waste time on waiting background index thread finish
- \#2394 Drop collection timeout if too many partitions created on collection
## Feature
......
......@@ -2443,7 +2443,7 @@ DBImpl::WaitCollectionIndexRecursively(const std::shared_ptr<server::Context>& c
// check to_index files every 5 seconds or background index thread finished
repeat++;
if ((ret == std::cv_status::no_timeout) || (repeat % WAIT_BUILD_INDEX_INTERVAL == 0)) {
if (repeat % WAIT_BUILD_INDEX_INTERVAL == 0) {
GetFilesToBuildIndex(collection_id, file_types, files_holder);
++times;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册