mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for SetCurrentRows (#9294)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
a1f040cd97
commit
a51533de7f
@ -120,6 +120,7 @@ func (s *SegmentsInfo) AddAllocation(segmentID UniqueID, allocation *Allocation)
|
||||
}
|
||||
}
|
||||
|
||||
// SetCurrentRows sets rows count for segment
|
||||
func (s *SegmentsInfo) SetCurrentRows(segmentID UniqueID, rows int64) {
|
||||
if segment, ok := s.segments[segmentID]; ok {
|
||||
s.segments[segmentID] = segment.ShadowClone(SetCurrentRows(rows))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user