fat-catTW opened a new pull request, #12063:
URL: https://github.com/apache/ozone/pull/12063

   ## What changes were proposed in this pull request?
   
   HDDS-17536. Preserve storage tier during RATIS repair.
   
   RATIS under-replication repair and mis-replication correction previously 
selected
   targets using the default DISK storage type. A container allocated on SSD 
could
   therefore be repaired onto DISK after a replica failure.
   
   This change uses the storage tier stored on the container for RATIS target
   selection and replication commands. If the requested tier is unavailable,
   repair does not fall back to an incompatible tier. Containers without a 
stored
   tier retain the legacy default DISK behavior.
   
   The patch adds unit coverage for compatible SSD placement, blocked placement
   when only DISK is available, and containers without a storage tier.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17536
   
   ## How was this patch tested?
   
   ```text
   mvn -q -pl :hdds-server-scm -am test \
     -Dtest=TestRatisUnderReplicationHandler,TestRatisMisReplicationHandler \
     -Dsurefire.failIfNoSpecifiedTests=false -DskipShade -DskipRecon
   
   mvn -q -pl :hdds-server-scm checkstyle:check
   git diff --check
   


-- 
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