kerneltime commented on a change in pull request #3200:
URL: https://github.com/apache/ozone/pull/3200#discussion_r827472864



##########
File path: 
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/EndpointBase.java
##########
@@ -190,6 +202,38 @@ public void deleteS3Bucket(String s3BucketName)
     }
   }
 
+  protected Map<String, String> getCustomMetadataFromHeaders(

Review comment:
       We should apply limits 
   ```
    Within the PUT request header, the user-defined metadata is limited to 2 KB 
in size. The size of user-defined metadata is measured by taking the sum of the 
number of bytes in the UTF-8 encoding of each key and value. ```
   https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html




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