swamirishi commented on code in PR #9084:
URL: https://github.com/apache/ozone/pull/9084#discussion_r2396378361


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMDirectoriesPurgeRequestWithFSO.java:
##########
@@ -252,4 +253,21 @@ public OMClientResponse 
validateAndUpdateCache(OzoneManager ozoneManager, Execut
         omResponse.build(), purgeRequests,
         getBucketLayout(), volBucketInfoMap, fromSnapshotInfo, openKeyInfoMap);
   }
+
+  private List<String[]> getBucketLockKeySet(PurgeDirectoriesRequest 
purgeDirsRequest) {
+    if (purgeDirsRequest.getBucketNameInfosList().isEmpty()) {
+      return purgeDirsRequest.getBucketNameInfosList().stream()

Review Comment:
   yeah there was a typo in the condition.



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