mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for SetCurrentRows (#9526)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9509/head
parent
7834649dbc
commit
1e0c3cbcb9
|
@ -239,6 +239,7 @@ func AddAllocation(allocation *Allocation) SegmentInfoOption {
|
|||
}
|
||||
}
|
||||
|
||||
// SetCurrentRows is the option to set current row count for segment info
|
||||
func SetCurrentRows(rows int64) SegmentInfoOption {
|
||||
return func(segment *SegmentInfo) {
|
||||
segment.currRows = rows
|
||||
|
|
Loading…
Reference in New Issue