mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for SetBinlogs (#9293)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user