docker-swift icon indicating copy to clipboard operation
docker-swift copied to clipboard

Increase default metadata key and value size to 2KB

Open diwu1989 opened this issue 5 years ago • 1 comments

AWS S3 seems to have 2KB limit on the metadata key and value. Swift seems to run with default constraint of 256.

Can we change the default to match 2k? https://docs.aws.amazon.com/AmazonS3/latest/user-guide/add-object-metadata.html

diwu1989 avatar Jan 10 '20 23:01 diwu1989

I think we need to figure out a few more parameters about AWS S3. Do you know if the maximum key length is limited to 2KB? Is there a limit on the number of x-amz-meta- headers? Swift has a number of settings that we need to tune in concert to match the desired AWS S3 behavior: https://github.com/openstack/swift/blob/master/swift/common/constraints.py

timuralp avatar Jan 14 '20 23:01 timuralp