milvus/internal/querycoordv2/task
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
..
action.go fix: sync part stats task cannot be finished(#30376) (#34027) 2024-06-24 10:16:02 +08:00
executor.go feat: Major compaction (#33620) 2024-06-10 21:34:08 +08:00
mock_scheduler.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
OWNERS
scheduler.go enhance: Avoid assign too much segment/channels to new querynode (#34096) 2024-06-27 19:06:05 +08:00
task_test.go enhance: move rocksmq from internal to pkg module (#33881) 2024-06-25 21:18:15 +08:00
task.go fix: sync part stats task cannot be finished(#30376) (#34027) 2024-06-24 10:16:02 +08:00
utils_test.go
utils.go