Skip to content

HDDS-15074. [DataNode] Implement lookahead dispatcher in ReplicationSupervisor#10129

Draft
jojochuang wants to merge 5 commits intoapache:masterfrom
jojochuang:HDDS-15074
Draft

HDDS-15074. [DataNode] Implement lookahead dispatcher in ReplicationSupervisor#10129
jojochuang wants to merge 5 commits intoapache:masterfrom
jojochuang:HDDS-15074

Conversation

@jojochuang
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

HDDS-15074. [DataNode] Implement lookahead dispatcher in ReplicationSupervisor

Please describe your PR in detail:

  • Refactor the ReplicationSupervisor to use a volume-aware dispatching logic. Instead of a simple priority pull, the dispatcher should "look ahead" in the
    priority queue to skip tasks targeting busy volumes (those at the volume.outbound.limit) while keeping them at the head of the queue. Implement a wake-up
    mechanism to re-evaluate the queue whenever a volume slot becomes available, ensuring high node throughput without starvation or disk thrashing.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15074

How was this patch tested?

Change-Id: Ifa6911e468f073ac2cc848edc3da20dc377c983c
…ction for EC decommission

Change-Id: Ie4b8662b10de5d3e73312f6b18ac825853dfd72e
Change-Id: Ic4e49c06f798cd4a15a630e742e17debba9b7494
(cherry picked from commit aca4193)
…upervisor

Change-Id: I4891d006eaf10252bbce16450cc98351bc7bac5d
(cherry picked from commit 9f42e73)
…Supervisor

Change-Id: I4b23b6c4a7d1074f170e2854cab0bab8f7189bb0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant