mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for filterSegmentsByPKs (#13036)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/13056/head
parent
e858006fd8
commit
b206980feb
|
@ -244,6 +244,7 @@ func processDeleteMessages(replica ReplicaInterface, msg *msgstream.DeleteMsg, d
|
|||
}
|
||||
}
|
||||
|
||||
// filterSegmentsByPKs would filter segments by primary keys
|
||||
func filterSegmentsByPKs(pks []int64, segment *Segment) ([]int64, error) {
|
||||
if pks == nil {
|
||||
return nil, fmt.Errorf("pks is nil when getSegmentsByPKs")
|
||||
|
|
Loading…
Reference in New Issue