Skip to content

Commit

Permalink
fix #2768 (#2809)
Browse files Browse the repository at this point in the history
* fix #2752

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

* typo

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

* typo

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

* fix #2768

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

* typo

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

* typo

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

* typo again

Signed-off-by: groot <yihua.mo@zilliz.com>
  • Loading branch information
groot authored and JinHai-CN committed Jul 18, 2020
1 parent 01437ce commit f80c592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -23,6 +23,7 @@ Please mark all changes in change log and use the issue from GitHub
- \#2739 Fix mishards start failed
- \#2752 Milvus formats vectors data to double-precision and return to http client
- \#2767 Fix a bug of getting wrong nprobe limitation in knowhere on GPU version
- \#2768 After building the index,the number of vectors increases
- \#2776 Fix too many data copies during creating IVF index
- \#2813 To implemente RNSG IP

Expand Down
2 changes: 1 addition & 1 deletion core/src/db/DBImpl.cpp
Expand Up @@ -2867,7 +2867,7 @@ DBImpl::GetPartitionsByTags(const std::string& collection_id, const std::vector<
Status
DBImpl::UpdateCollectionIndexRecursively(const std::string& collection_id, const CollectionIndex& index) {
DropIndex(collection_id);

WaitMergeFileFinish(); // DropIndex called StartMergeTask, need to wait merge thread finish
auto status = meta_ptr_->UpdateCollectionIndex(collection_id, index);
fiu_do_on("DBImpl.UpdateCollectionIndexRecursively.fail_update_collection_index",
status = Status(DB_META_TRANSACTION_FAILED, ""));
Expand Down

0 comments on commit f80c592

Please sign in to comment.