chungen0126 commented on code in PR #11242:
URL: https://github.com/apache/ozone/pull/11242#discussion_r4070317154
##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/ObjectAttributesHandler.java:
##########
@@ -204,8 +214,10 @@ private GetObjectAttributesResponse buildResponse(String
keyPath, OzoneKey key,
if (eTag != null) {
String partsCountStr = extractPartsCount(eTag);
if (partsCountStr != null && completedPartSizes != null) {
+ boolean directoryBucketLayout =
+ context.getBucket().getBucketLayout().isFileSystemOptimized();
Review Comment:
Thanks @Gargi-jais11 for working on this. I agree with your approach. It's
the simplest and most maintainable way. I considered to determine whether to
return the related information at the server side, but that would
overcomplicate things.
--
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]