mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
Merge branch 'xupeng-0.3.1' into 'branch-0.3.1'
add more logging for bg_error break See merge request megasearch/milvus!219 Former-commit-id: cb8a66fad06946d98f6c90c9f89eb4248ee1dadc
This commit is contained in:
commit
88c329e283
@ -395,7 +395,7 @@ void DBImpl::BackgroundCompaction(std::set<std::string> table_ids) {
|
||||
for (auto& table_id : table_ids) {
|
||||
status = BackgroundMergeFiles(table_id);
|
||||
if (!status.ok()) {
|
||||
ENGINE_LOG_ERROR << "BGERROR found during merge files!";
|
||||
ENGINE_LOG_ERROR << "BGERROR found during merge files: " << status.ToString();
|
||||
bg_error_ = status;
|
||||
return;
|
||||
}
|
||||
@ -540,7 +540,7 @@ void DBImpl::BackgroundBuildIndex() {
|
||||
for (auto& file : to_index_files) {
|
||||
status = BuildIndex(file);
|
||||
if (!status.ok()) {
|
||||
ENGINE_LOG_ERROR << "BGERROR found during build index!";
|
||||
ENGINE_LOG_ERROR << "BGERROR found during build index: " << status.ToString();
|
||||
bg_error_ = status;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user