siddhantsangwan commented on code in PR #8365:
URL: https://github.com/apache/ozone/pull/8365#discussion_r2144527377
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/OzoneContainer.java:
##########
@@ -575,6 +578,15 @@ public ContainerSet getContainerSet() {
return containerSet;
}
+ public Long gatherContainerUsages(HddsVolume storageVolume) {
+ Iterator<Container<?>> itr =
containerSet.getContainerIterator(storageVolume);
Review Comment:
`getContainerIterator` sorts the containers first - do we need containers to
be in sorted order here?
--
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]