Russole commented on code in PR #11973:
URL: https://github.com/apache/ozone/pull/11973#discussion_r4572827225


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/MultipartKeyHandler.java:
##########
@@ -64,7 +63,9 @@ Response handleGetRequest(ObjectEndpoint.ObjectRequestContext 
context, String ke
       }
       ServerSideEncryption.rejectCustomerKey(getHeaders(), keyPath);
       int partMarker = parsePartNumberMarker(partNumberMarker);
-      Response response = listParts(context.getVolume(), 
context.getBucketName(), keyPath, uploadId,
+      String volumeName = 
S3Owner.hasBucketOwnershipVerificationConditions(getHeaders())
+          ? context.getBucket().getVolumeName() : null;

Review Comment:
   That makes sense. Updated.



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