HDDS-15074. [DataNode] Implement lookahead dispatcher in ReplicationSupervisor#10129
Draft
jojochuang wants to merge 5 commits intoapache:masterfrom
Draft
HDDS-15074. [DataNode] Implement lookahead dispatcher in ReplicationSupervisor#10129jojochuang wants to merge 5 commits intoapache:masterfrom
jojochuang wants to merge 5 commits intoapache:masterfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
HDDS-15074. [DataNode] Implement lookahead dispatcher in ReplicationSupervisor
Please describe your PR in detail:
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?