Loading CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ Please mark all change in change log and use the issue from GitHub - \#2353 Remove log_config from code and scripts - \#2370 Clean compile warning - \#2381 Upgrade FAISS to 1.6.3 - \#2410 Logging build index progress ## Task Loading core/src/db/DBImpl.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -2124,10 +2124,12 @@ DBImpl::BackgroundBuildIndex() { } // step 3: wait build index finished and mark failed files int64_t completed = 0; for (auto iter = job2file_map.begin(); iter != job2file_map.end(); ++iter) { scheduler::BuildIndexJobPtr job = iter->first; meta::SegmentSchema& file_schema = *(iter->second.get()); job->WaitBuildIndexFinish(); LOG_ENGINE_INFO_ << "Build Index Progress: " << ++completed << " of " << job2file_map.size(); if (!job->GetStatus().ok()) { Status status = job->GetStatus(); LOG_ENGINE_ERROR_ << "Building index job " << job->id() << " failed: " << status.ToString(); Loading Loading
CHANGELOG.md +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ Please mark all change in change log and use the issue from GitHub - \#2353 Remove log_config from code and scripts - \#2370 Clean compile warning - \#2381 Upgrade FAISS to 1.6.3 - \#2410 Logging build index progress ## Task Loading
core/src/db/DBImpl.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -2124,10 +2124,12 @@ DBImpl::BackgroundBuildIndex() { } // step 3: wait build index finished and mark failed files int64_t completed = 0; for (auto iter = job2file_map.begin(); iter != job2file_map.end(); ++iter) { scheduler::BuildIndexJobPtr job = iter->first; meta::SegmentSchema& file_schema = *(iter->second.get()); job->WaitBuildIndexFinish(); LOG_ENGINE_INFO_ << "Build Index Progress: " << ++completed << " of " << job2file_map.size(); if (!job->GetStatus().ok()) { Status status = job->GetStatus(); LOG_ENGINE_ERROR_ << "Building index job " << job->id() << " failed: " << status.ToString(); Loading