mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for SetFlushTime (#9295)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9302/head
parent
a1a69a8fef
commit
5467240fca
|
@ -134,6 +134,7 @@ func (s *SegmentsInfo) SetBinlogs(segmentID UniqueID, binlogs []*datapb.FieldBin
|
|||
}
|
||||
}
|
||||
|
||||
// SetFlushTime sets flush time for segment
|
||||
func (s *SegmentsInfo) SetFlushTime(segmentID UniqueID, t time.Time) {
|
||||
if segment, ok := s.segments[segmentID]; ok {
|
||||
s.segments[segmentID] = segment.ShadowClone(SetFlushTime(t))
|
||||
|
|
Loading…
Reference in New Issue