mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comment for SetState (#9397)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
cc794354b5
commit
d41cdbb909
@ -200,6 +200,7 @@ func SetExpireTime(expireTs Timestamp) SegmentInfoOption {
|
||||
}
|
||||
}
|
||||
|
||||
// SetState is the option to set state for segment info
|
||||
func SetState(state commonpb.SegmentState) SegmentInfoOption {
|
||||
return func(segment *SegmentInfo) {
|
||||
segment.State = state
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user