sadanand48 commented on code in PR #3973:
URL: https://github.com/apache/ozone/pull/3973#discussion_r1027845437


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMDirectoriesPurgeRequestWithFSO.java:
##########
@@ -48,12 +59,72 @@ public OMClientResponse validateAndUpdateCache(OzoneManager 
ozoneManager,
     List<OzoneManagerProtocolProtos.PurgePathRequest> purgeRequests =
             purgeDirsRequest.getDeletedPathList();
 
+    Set<Pair<String, String>> lockSet = new HashSet<>();
+    Map<Pair<String, String>, OmBucketInfo> volBucketInfoMap = new HashMap<>();

Review Comment:
   From offline discussion: There might be multiple keys from same bucket which 
can cause duplicate entries in the list.



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