提交 6ee65579 编写于 作者: S sunby 提交者: yefu.chen

Record segment flushed state

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 eba5b9ae
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册