sumitagrawl commented on code in PR #9147:
URL: https://github.com/apache/ozone/pull/9147#discussion_r2449031553


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/HddsVolume.java:
##########
@@ -93,6 +95,8 @@ public class HddsVolume extends StorageVolume {
   private final AtomicLong committedBytes = new AtomicLong(); // till Open 
containers become full
   private Function<HddsVolume, Long> gatherContainerUsages = (K) -> 0L;
 
+  private final ConcurrentSkipListSet<Long> containerIds = new 
ConcurrentSkipListSet<>();

Review Comment:
   We can use ConcurrentHashSet as memory requirement is lesser and no need any 
ordering for this



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