Constraints applicable to unified file and object access
The following constraints are applicable while creating and accessing objects and containers for unified file and object access:
- The name of the container must not exceed 255 characters.
- The name of the object must not exceed 214 characters.
- The path name of the object must not include successive forward slashes.
- The name of the container and the object must not be a single period (.) or a double period (..). However, a single period or a double period can be part of the name of the container and the object.
The system returns 400 Bad Request when the above constraints are not met.
The swift constraints listed in the following table are also applicable to unified file and object access.
Option | Limit |
---|---|
MAX_FILE_SIZE | 5497558138880 (5 TiB) |
MAX_META_NAME_LENGTH | 128 |
MAX_META_VALUE_LENGTH | 256 |
MAX_META_COUNT | 90 |
MAX_META_OVERALL_SIZE | 4096 |
MAX_HEADER_SIZE | 8192 |
CONTAINER_LISTING_LIMIT | 10000 |
ACCOUNT_LISTING_LIMIT | 10000 |
MAX_ACCOUNT_NAME_LENGTH | 256 |
VALID_API_VERSIONS | ["v1", "v1.0"] |
EXTRA_HEADER_COUNT | 0 |
Note: These values can be changed by
using mmobj config change command for the swift.conf
file in swift-constraints section.