fix: loss small bm25 binlogs (#36942)

Sync task don't flush small bm25 logs, cause growing segment bm25 stats
loss.
relate: https://github.com/milvus-io/milvus/issues/36805

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
pull/36954/head
aoiasd 2024-10-17 14:49:23 +08:00 committed by GitHub
parent 605e0890fb
commit 20750c061b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ func (t *SyncTask) Run(ctx context.Context) (err error) {
t.processStatsBlob()
t.processDeltaBlob()
if len(t.bm25Binlogs) > 0 || len(t.mergedBm25Blob) > 0 {
if len(t.bm25Blobs) > 0 || len(t.mergedBm25Blob) > 0 {
t.processBM25StastBlob()
}