Unverified Commit 19a9d0d1 authored by groot's avatar groot Committed by GitHub
Browse files

revert code (#2525)



* revert code

Signed-off-by: default avataryhmo <yihua.mo@zilliz.com>

* changelog

Signed-off-by: default avataryhmo <yihua.mo@zilliz.com>
parent 7092c85b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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;
            }