mirror of https://github.com/milvus-io/milvus.git
fix: Fix bug for block clustering compaction (#35019)
issue: #34703 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>pull/34803/head^2
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…
Reference in New Issue