mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Fix bug for block clustering compaction (#35019)
issue: #34703 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
1cff55381d
commit
ea13b97b6a
@ -714,8 +714,8 @@ func (t *clusteringCompactionTask) backgroundFlush(ctx context.Context) {
|
||||
if signal.done {
|
||||
t.doneChan <- struct{}{}
|
||||
} else if signal.writer == nil {
|
||||
err = t.flushLargestBuffers(ctx)
|
||||
t.hasSignal.Store(false)
|
||||
err = t.flushLargestBuffers(ctx)
|
||||
} else {
|
||||
future := t.flushPool.Submit(func() (any, error) {
|
||||
err := t.flushBinlog(ctx, t.clusterBuffers[signal.id], signal.writer, signal.pack)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user