milvus/internal/querycoordv2/balance
wei liu 8123bea1ae
enhance: Avoid assign too much segment/channels to new querynode (#34096)
issue: #34095

When a new query node comes online, the segment_checker,
channel_checker, and balance_checker simultaneously attempt to allocate
segments to it. If this occurs during the execution of a load task and
the distribution of the new query node hasn't been updated, the query
coordinator may mistakenly view the new query node as empty. As a
result, it assigns segments or channels to it, potentially overloading
the new query node with more segments or channels than expected.

This PR measures the workload of the executing tasks on the target query
node to prevent assigning an excessive number of segments to it.

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-06-27 19:06:05 +08:00
..
balance_test.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
balance.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
channel_level_score_balancer_test.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
channel_level_score_balancer.go fix: query node may stuck at stopping progress (#33104) 2024-05-20 10:21:38 +08:00
mock_balancer.go enhance: Add restful api for devops to execute rolling upgrade (#29998) 2024-03-27 16:15:19 +08:00
multi_target_balance.go fix: query node may stuck at stopping progress (#33104) 2024-05-20 10:21:38 +08:00
multi_target_balancer_test.go fix: Remove balance plan of which From, To nodes are same when merging (#30634) 2024-02-18 17:24:50 +08:00
OWNERS Add OWNERS files for querycoordv2 sub pkgs (#23489) 2023-04-18 15:52:30 +08:00
priority_queue_test.go enhance segment balance by considering global rowCount(##22914) (#23056) 2023-04-03 14:16:25 +08:00
priority_queue.go Add license header (#19678) 2022-10-11 11:39:22 +08:00
rowcount_based_balancer_test.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
rowcount_based_balancer.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
score_based_balancer_test.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
score_based_balancer.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
utils.go enhance: Support L0 import (#33514) 2024-06-07 14:17:20 +08:00