adoroszlai commented on code in PR #9286:
URL: https://github.com/apache/ozone/pull/9286#discussion_r3117684133
##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/BucketEndpoint.java:
##########
@@ -118,6 +121,17 @@ Response handleGetRequest(S3RequestContext context, String
bucketName) throws IO
OzoneBucket bucket = null;
try {
+ if (prefix == null) {
+ prefix = "";
+ }
+ final String uploads = queryParams().get(QueryParams.UPLOADS);
+ if (uploads != null) {
Review Comment:
This code path is not hit, because `ListMultipartUploadsHandler` gets to
handle the request earlier. `BucketEndpoint#handleGetRequest` is not
responsible for listing multipart uploads. I don't think `BucketEndpoint`
should be changed at all.
--
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]