mirror of https://github.com/milvus-io/milvus.git
revert code (#2525)
* revert code Signed-off-by: yhmo <yihua.mo@zilliz.com> * changelog Signed-off-by: yhmo <yihua.mo@zilliz.com>pull/2527/head
parent
7092c85ba6
commit
19a9d0d1f3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue