mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
fix: Fix data race for clustering compaction (#35435)
issue: #35436 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
e58d656e65
commit
196b343a94
@ -594,7 +594,7 @@ func (t *clusteringCompactionTask) mappingSegment(
|
||||
|
||||
if (remained+1)%100 == 0 {
|
||||
t.clusterBufferLocks.RLock(clusterBuffer.id)
|
||||
currentBufferWriterFull := clusterBuffer.writer.FlushAndIsFull()
|
||||
currentBufferWriterFull := clusterBuffer.writer.IsFull()
|
||||
t.clusterBufferLocks.RUnlock(clusterBuffer.id)
|
||||
|
||||
currentBufferTotalMemorySize := t.getBufferTotalUsedMemorySize()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user