mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Setup lastSyncTs when add segment to avoid sync next timetick (#20920)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com> Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
a20770c172
commit
82fe655032
@ -209,6 +209,7 @@ func (c *ChannelMeta) addSegment(req addSegmentReq) error {
|
||||
historyInsertBuf: make([]*BufferData, 0),
|
||||
historyDeleteBuf: make([]*DelDataBuf, 0),
|
||||
startPos: req.startPos,
|
||||
lastSyncTs: req.recoverTs,
|
||||
}
|
||||
seg.setType(req.segType)
|
||||
// Set up pk stats
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user