[Swift] What's the restrictions concerning the metadata ?

asked 2019-01-29 04:24:31 -0500

Hi,

I'm looking for some details about the limits of the metadata used by Swift. I found some information on the Constraints section (https://docs.openstack.org/newton/config-reference/object-storage/features.html (https://docs.openstack.org/newton/con...)).


max_meta_name_length = 128

The max number of bytes in the utf8 encoding of the name portion of a metadata header.

What's the "name portion" in a header ? I did'nt found any example or explanation.


max_meta_count = 90 / The max number of metadata keys that can be stored on a single account, container, or object.

max_meta_overall_size = 4096 / The max number of bytes in the utf8 encoding of the metadata (keys + values).

Can i change this values (with some performance tests) or is there any limits imposed by the system (XFS, or other) ?


Are object's metadata stored in the same partition as the object itself ?


Are object's metadata replicated like data is ? Did Erasure Coding works with object's metada too ?

Thanks in advance !

edit retag flag offensive close merge delete