mirror of https://github.com/milvus-io/milvus.git
fix:Reset flushed row num after pack segment for clustering compaction (#34702)
issue: #34703 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>pull/34724/head
parent
804dd5409a
commit
fbc10ac695
|
@ -831,6 +831,8 @@ func (t *clusteringCompactionTask) packBufferToSegment(ctx context.Context, buff
|
|||
zap.Int64("segID", seg.GetSegmentID()),
|
||||
zap.Int64("row num", seg.GetNumOfRows()))
|
||||
|
||||
// reset
|
||||
buffer.flushedRowNum.Store(0)
|
||||
// set old writer nil
|
||||
writer = nil
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue