milvus/internal/querycoordv2/task
congqixia 7b91fa3db8
fix: Make leader checker generate leader task instead of segment task (#30258)
See also #30150

For leader view distribution with offline nodes, a release task can
never be sent to querynode due to targetNode online check logic. Even
the request is dispatched, normal release task does not have "force"
flag when calling `delegator.ReleaseSegment`.

This PR adds a new type of querycoord task: LeaderTask, the
responsibility of which is to rectify leader view distribtion.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-02-21 11:08:51 +08:00
..
action.go fix: Make leader checker generate leader task instead of segment task (#30258) 2024-02-21 11:08:51 +08:00
executor.go fix: Make leader checker generate leader task instead of segment task (#30258) 2024-02-21 11:08:51 +08:00
mock_scheduler.go Remove parser dependency (#27514) 2023-10-08 15:05:31 +08:00
OWNERS Add OWNERS files for querycoordv2 sub pkgs (#23489) 2023-04-18 15:52:30 +08:00
scheduler.go fix: Make leader checker generate leader task instead of segment task (#30258) 2024-02-21 11:08:51 +08:00
task_test.go fix: Make leader checker generate leader task instead of segment task (#30258) 2024-02-21 11:08:51 +08:00
task.go fix: Make leader checker generate leader task instead of segment task (#30258) 2024-02-21 11:08:51 +08:00
utils_test.go feat: Support multiple vector search (#29433) 2024-01-08 15:34:48 +08:00
utils.go feat: Support multiple vector search (#29433) 2024-01-08 15:34:48 +08:00