aswinshakil commented on code in PR #3909:
URL: https://github.com/apache/ozone/pull/3909#discussion_r1010761718


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/OverReplicatedProcessor.java:
##########
@@ -114,6 +114,9 @@ private void adjustPendingOps(ContainerID containerID, 
SCMCommand<?> cmd,
       DeleteContainerCommand rcc = (DeleteContainerCommand) cmd;
       pendingOps.scheduleDeleteReplica(containerID, targetDatanode,
           rcc.getReplicaIndex());
+      if (rcc.getReplicaIndex() > 0) {

Review Comment:
   Initially, I tried adding only EC Metrics and left RATIS Metrics out of this 
as it doesn't follow this code path right now. But I can add it to make it 
future-proof. 



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