mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
fix:[cherry-pick] Reset flushed row num after pack segment for clustering compaction (#34704)
issue: #34703 master pr: #34702 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
13f129aa9c
commit
0c5aafd2d1
@ -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…
x
Reference in New Issue
Block a user