mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for SetBinlogs (#9293)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9302/head
parent
88b4439fdf
commit
a1a69a8fef
|
@ -127,6 +127,7 @@ func (s *SegmentsInfo) SetCurrentRows(segmentID UniqueID, rows int64) {
|
|||
}
|
||||
}
|
||||
|
||||
// SetBinlogs sets binlog paths for segment
|
||||
func (s *SegmentsInfo) SetBinlogs(segmentID UniqueID, binlogs []*datapb.FieldBinlog) {
|
||||
if segment, ok := s.segments[segmentID]; ok {
|
||||
s.segments[segmentID] = segment.Clone(SetBinlogs(binlogs))
|
||||
|
|
Loading…
Reference in New Issue