提交 ece4f162 编写于 作者: Y yudong.cai

MS-458 fix bug for keep building index for one file when no gpu resource


Former-commit-id: 3fbf5481c3fa9660e6a1baf26958cb9e6a7cbba7
上级 7a718f47
......@@ -17,8 +17,9 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-430 - Search no result if index created with FLAT
- MS-443 - Create index hang again
- MS-436 - Delete vectors failed if index created with index_type: IVF_FLAT/IVF_SQ8
- MS-450 - server hang after run stop_server.sh
- MS-449 - Add vectors twice success, once with ids, the other no ids
- MS-450 - server hang after run stop_server.sh
- MS-458 - Keep building index for one file when no gpu resource
- MS-461 - Mysql meta unittest failed
- MS-462 - Run milvus server twices, should display error
- MS-463 - Search timeout
......
......@@ -522,7 +522,6 @@ void DBImpl::BackgroundCompaction(std::set<std::string> table_ids) {
status = BackgroundMergeFiles(table_id);
if (!status.ok()) {
ENGINE_LOG_ERROR << "Merge files for table " << table_id << " failed: " << status.ToString();
continue;//let other table get chance to merge
}
if (shutting_down_.load(std::memory_order_acquire)){
......@@ -765,7 +764,6 @@ void DBImpl::BackgroundBuildIndex() {
status = BuildIndex(file);
if (!status.ok()) {
ENGINE_LOG_ERROR << "Building index for " << file.id_ << " failed: " << status.ToString();
return;
}
if (shutting_down_.load(std::memory_order_acquire)){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册