fat-catTW commented on code in PR #12063:
URL: https://github.com/apache/ozone/pull/12063#discussion_r4683363140


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/QuasiClosedStuckUnderReplicationHandler.java:
##########
@@ -101,12 +101,13 @@ public int processAndSendCommands(Set<ContainerReplica> 
replicas, List<Container
     int totalRequiredReplicas = 0;
     int totalCommandsSent = 0;
     IOException firstException = null;
+    StorageType targetStorageType = 
ReplicationManagerUtil.getTargetStorageType(containerInfo);

Review Comment:
   Thanks! 
   Updated the quasi-closed stuck handler to retry with DISK when no suitable 
SSD target is found. The replication command now carries the selected storage 
type, and I added a test for the fallback.



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