rakeshadr commented on code in PR #3461:
URL: https://github.com/apache/ozone/pull/3461#discussion_r886256920


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneListStatusHelper.java:
##########
@@ -110,7 +109,7 @@ public Collection<OzoneFileStatus> listStatusFSO(OmKeyArgs 
args,
     // if the keyName is null
     if (StringUtils.isNotBlank(startKey)) {
       if (StringUtils.isNotBlank(keyName)) {
-        if (!listKeysMode &&
+        if (!allowPartialPrefixes &&
             !OzoneFSUtils.isImmediateChild(keyName, startKey)) {

Review Comment:
   Clarification Point: Here its validating `isImmediateChild(keyName, 
startKey) `only if the allowPartialPrefixes=false. What if the partial startKey 
prefix is not an immediate child ?



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