mirror of https://github.com/milvus-io/milvus.git
Merge branch 'branch-0.4.0' into 'branch-0.4.0'
MS-489 GPU search result is wrong when index_type is IVFLAT/IVF_SQ8 and metric_type is IP See merge request megasearch/milvus!491 Former-commit-id: 9d9490e269e6b74eeb2a1b247ec287873346357dpull/191/head
commit
c651fc8b3c
|
@ -255,7 +255,7 @@ Status DBImpl::CreateIndex(const std::string& table_id, const TableIndex& index)
|
||||||
if(!utils::IsSameIndex(old_index, new_index)) {
|
if(!utils::IsSameIndex(old_index, new_index)) {
|
||||||
DropIndex(table_id);
|
DropIndex(table_id);
|
||||||
|
|
||||||
status = meta_ptr_->UpdateTableIndexParam(table_id, index);
|
status = meta_ptr_->UpdateTableIndexParam(table_id, new_index);
|
||||||
if (!status.ok()) {
|
if (!status.ok()) {
|
||||||
ENGINE_LOG_ERROR << "Failed to update table index info for table: " << table_id;
|
ENGINE_LOG_ERROR << "Failed to update table index info for table: " << table_id;
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in New Issue