未验证 提交 aba9aa45 编写于 作者: S sunby 提交者: GitHub

[skip ci]Add comment for SetFlushTime (#9668)

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 6fc64b83
......@@ -253,6 +253,7 @@ func SetBinlogs(binlogs []*datapb.FieldBinlog) SegmentInfoOption {
}
}
// SetFlushTime is the option to set flush time for segment info
func SetFlushTime(t time.Time) SegmentInfoOption {
return func(segment *SegmentInfo) {
segment.lastFlushTime = t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册