mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
5dfa1c3397
issue: #36536 query coord use `segmentTaskDeleta/channelTaskDelta` to measure the executing workload for querynode in scheduler, and we maintains the `segmentTaskDeleta/channelTaskDelta` by `scheulder.Add(task)` and `scheduler.remove(task)`, but `scheduler.remove(task)` has been called in unexpected way, which cause a wrong `segmentTaskDeleta/channelTaskDelta` value and affect the segment assign logic, causes segment unbalance. This PR moves to compute the `segmentTaskDeleta/channelTaskDelta` when access, to avoid the wrong value affect. Signed-off-by: Wei Liu <wei.liu@zilliz.com> |
||
---|---|---|
.. | ||
balance | ||
checkers | ||
dist | ||
job | ||
meta | ||
mocks | ||
observers | ||
params | ||
session | ||
task | ||
utils | ||
api_testonly.go | ||
handlers.go | ||
ops_service_test.go | ||
ops_services.go | ||
OWNERS | ||
server_test.go | ||
server.go | ||
services_test.go | ||
services.go |