mirror of https://github.com/milvus-io/milvus.git
See also #29699 Querycoord panicked when tried to pop from an empty heap. We assume the heap shall not be empty, but in some branch, the candidate is never pushed back. This PR put pop & push in a closure and adds a defer call to push item back. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com> |
||
---|---|---|
.. | ||
OWNERS | ||
balance.go | ||
balance_test.go | ||
mock_balancer.go | ||
priority_queue.go | ||
priority_queue_test.go | ||
rowcount_based_balancer.go | ||
rowcount_based_balancer_test.go | ||
score_based_balancer.go | ||
score_based_balancer_test.go | ||
utils.go |