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


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/ContainerSet.java:
##########
@@ -666,6 +734,10 @@ public <T> void buildMissingContainerSetAndValidate(Map<T, 
Long> container2BCSID
     container2BCSIDMap.entrySet().parallelStream().forEach((mapEntry) -> {
       final long id = getId.applyAsLong(mapEntry.getKey());
       if (!containerMap.containsKey(id)) {
+        if (isDeletedInContainerTable(id)) {

Review Comment:
   I think missing container set is duplicate implementation with respect to 
table where its part of file system, we can optimize considering both.



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