milvus/internal/querycoordv2/task
wei liu f441ccdbe9
fix: [2.5] Prevent balancer from overloading the same QueryNode (#38724)
issue: #38718
pr: #38719
The balancer calculates the workload of executing tasks as an ongoing
score for target nodes. However, a logic issue arises when
GetSegmentTaskDelta or GetChannelTaskDelta is called with
collectionID=-1, which incorrectly returns zero.

Due to the incorrect global score, the executing task's workload is not
properly reflected for each collection. Consequently, each collection
submits its own balance task, leading to the balancer assigning
excessive tasks to the same QueryNode.

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-12-25 16:16:49 +08:00
..
OWNERS Add OWNERS files for querycoordv2 sub pkgs (#23489) 2023-04-18 15:52:30 +08:00
action.go fix: Leader task stuck and retry again and again (#38202) 2024-12-10 19:16:42 +08:00
executor.go feat: support to replicate collection when the services contains the system tt msg (#37559) 2024-12-17 09:08:46 +08:00
mock_scheduler.go fix: Prevent simultaneous balance of segments and channels (#37850) 2024-11-21 17:56:55 +08:00
scheduler.go fix: [2.5] Prevent balancer from overloading the same QueryNode (#38724) 2024-12-25 16:16:49 +08:00
task.go enhance: Use internal json(sonic) to replace std json lib (#37708) 2024-11-18 10:46:31 +08:00
task_test.go fix: [2.5] Prevent balancer from overloading the same QueryNode (#38724) 2024-12-25 16:16:49 +08:00
utils.go feat: add tasks page into management WebUI (#37002) 2024-10-28 10:13:29 +08:00
utils_test.go enhance: provide more general configuration to control mmap behavior (#35359) 2024-08-21 00:22:54 +08:00