mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
3626f49025
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> |
||
---|---|---|
.. | ||
balance_test.go | ||
balance.go | ||
mock_balancer.go | ||
OWNERS | ||
priority_queue_test.go | ||
priority_queue.go | ||
rowcount_based_balancer_test.go | ||
rowcount_based_balancer.go | ||
score_based_balancer_test.go | ||
score_based_balancer.go | ||
utils.go |