rich7420 opened a new pull request, #11182:
URL: https://github.com/apache/ozone/pull/11182

   ## What changes were proposed in this pull request?
   
   SCM previously sent container reconciliation commands to every datanode with 
a replica and allowed every replica to be used as a peer, regardless of the 
datanode's health or operational state.
   
   This change uses `NodeManager` status when selecting reconciliation 
participants:
   
   - Healthy in-service datanodes are command targets and peers.
   - Healthy datanodes that are decommissioning or entering maintenance remain 
peers, but do not receive commands.
   - Stale, dead, unknown, decommissioned, and in-maintenance datanodes are 
excluded from both roles.
   - An eligible target still receives a command when no eligible peers are 
available, so it can generate missing checksum data and scan its local 
container.
   - Reconciliation is skipped when no eligible target is available.
   
   The existing container and replica eligibility rules are unchanged. Changes 
to reconciliation status reporting are out of scope.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-10714
   
   ## How was this patch tested?
   
   - `mvn -pl :hdds-server-scm test -Dtest=TestReconcileContainerEventHandler 
-DskipShade -DskipRecon -DskipDocs` — 24 tests run, 0 failures, 0 errors, 0 
skipped.
   - `./hadoop-ozone/dev-support/checks/checkstyle.sh` — 58 modules checked, 0 
violations.
   - Fork CI: https://github.com/rich7420/ozone/actions/runs/33510354889
   - 10 x 10 flaky-test-check for `TestReconcileContainerEventHandler` — 
100/100 passed: https://github.com/rich7420/ozone/actions/runs/33515332863
   
   Generated-by: Codex (GPT-5)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to