mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
fix: [cherry-pick] Fix bug for block clustering compaction (#35021)
issue: #34703 master pr: #35019 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
6f0f3034c6
commit
9cd6dbcbc9
@ -711,8 +711,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