mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Record segment flushed state
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
eba5b9ae27
commit
6ee6557981
@ -359,6 +359,7 @@ func (s *Server) startSegmentFlushChannel(ctx context.Context) {
|
||||
continue
|
||||
}
|
||||
segmentInfo.FlushedTime = realMsg.BeginTimestamp
|
||||
segmentInfo.State = commonpb.SegmentState_SegmentFlushed
|
||||
if err = s.meta.UpdateSegment(segmentInfo); err != nil {
|
||||
log.Println(err.Error())
|
||||
continue
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user