mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add comment for PeekClientV1 (#13857)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/13881/head
parent
1eb5645762
commit
f64a1a5bae
|
@ -28,6 +28,8 @@ func PeekClientV0(memorySize uint64, indexParams []*commonpb.KeyValuePair,
|
|||
return pq.items[0].key
|
||||
}
|
||||
|
||||
// PeekClientV1 choose the one with the smallest amount of tasks among all IndexNodes
|
||||
// whose memory size meets the requirements for building the index.
|
||||
func PeekClientV1(memorySize uint64, indexParams []*commonpb.KeyValuePair,
|
||||
typeParams []*commonpb.KeyValuePair, pq *PriorityQueue) UniqueID {
|
||||
for i := range pq.items {
|
||||
|
|
Loading…
Reference in New Issue