Skip to content

HDDS-15071. [SCM] Add configuration and global reconstruction limit#10122

Draft
jojochuang wants to merge 1 commit intoapache:masterfrom
jojochuang:HDDS-15071
Draft

HDDS-15071. [SCM] Add configuration and global reconstruction limit#10122
jojochuang wants to merge 1 commit intoapache:masterfrom
jojochuang:HDDS-15071

Conversation

@jojochuang
Copy link
Copy Markdown
Contributor

@jojochuang jojochuang commented Apr 24, 2026

What changes were proposed in this pull request?

HDDS-15071. [SCM] Add configuration and global reconstruction limit

Please describe your PR in detail:

  • Introduce the foundational configuration properties in ReplicationManagerConfiguration:

hdds.scm.replication.decommission.ec.reconstruction.enabled
hdds.scm.replication.decommission.ec.reconstruction.load.factor (default 0.9)
hdds.scm.replication.reconstruction.global.limit

  • Implement an atomic counter in ReplicationManager to track active ReconstructECContainersCommand tasks cluster-wide. Update UnhealthyReplicationProcessor
    to check this global limit before dequeuing containers for reconstruction, ensuring aggregate bisectional bandwidth is protected.

What is the link to the Apache JIRA

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

How was this patch tested?

Existing tests. TestReplicationManager.testInflightReconstructionLimit(), TestUnderReplicatedProcess.testMessageNotProcessedIfReconstructionLimitReached()

Comment thread hadoop-ozone/common/pom.xml Outdated
@jojochuang jojochuang changed the title Hdds 15071 HDDS-15014. [SCM] Add configuration and global reconstruction limit Apr 24, 2026
@jojochuang jojochuang changed the title HDDS-15014. [SCM] Add configuration and global reconstruction limit HDDS-15071. [SCM] Add configuration and global reconstruction limit Apr 24, 2026
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.

2 participants