siddhantsangwan commented on code in PR #5929:
URL: https://github.com/apache/ozone/pull/5929#discussion_r1446141206
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/node/DatanodeAdminMonitorImpl.java:
##########
@@ -488,6 +488,54 @@ private boolean
checkContainersReplicatedOnNode(TrackedNode dn)
return underReplicated == 0 && unclosed == 0;
}
+ public Map<String, List<ContainerID>>
containersReplicatedOnNode(DatanodeDetails dn)
Review Comment:
Also if it doesn't turn out to be too complicated, let's refactor the common
code between this method and the one above to another common method. That way
we don't have to maintain the same logic in two places.
--
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]