forked from openstack/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport commit a2ac5ef, 'swift constraints are now settable via conf…
…ig', excluding PEP8 changes that did not involve the constraints.
- Loading branch information
Showing
6 changed files
with
196 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,76 @@ | ||
[swift-hash] | ||
|
||
# swift_hash_path_suffix is used as part of the hashing algorithm | ||
# when determining data placement in the cluster. This value should | ||
# remain secret and MUST NOT change once a cluster has been deployed. | ||
|
||
swift_hash_path_suffix = changeme | ||
|
||
|
||
|
||
# The swift-constraints section sets the basic constraints on data | ||
# saved in the swift cluster. | ||
|
||
[swift-constraints] | ||
|
||
# max_file_size is the largest "normal" object that can be saved in | ||
# the cluster. This is also the limit on the size of each segment of | ||
# a "large" object when using the large object manifest support. | ||
# This value is set in bytes. Setting it to lower than 1MiB will cause | ||
# some tests to fail. It is STRONGLY recommended to leave this value at | ||
# the default (5 * 2**30 + 2). | ||
|
||
#max_file_size = 5368709122 | ||
|
||
|
||
# max_meta_name_length is the max number of bytes in the utf8 encoding | ||
# of the name portion of a metadata header. | ||
|
||
#max_meta_name_length = 128 | ||
|
||
|
||
# max_meta_value_length is the max number of bytes in the utf8 encoding | ||
# of a metadata value | ||
|
||
#max_meta_value_length = 256 | ||
|
||
|
||
# max_meta_count is the max number of metadata keys that can be stored | ||
# on a single account, container, or object | ||
|
||
#max_meta_count = 90 | ||
|
||
|
||
# max_meta_overall_size is the max number of bytes in the utf8 encoding | ||
# of the metadata (keys + values) | ||
|
||
#max_meta_overall_size = 4096 | ||
|
||
|
||
# max_object_name_length is the max number of bytes in the utf8 encoding | ||
# of an object name | ||
|
||
#max_object_name_length = 1024 | ||
|
||
|
||
# container_listing_limit is the default (and max) number of items | ||
# returned for a container listing request | ||
|
||
#container_listing_limit = 10000 | ||
|
||
|
||
# account_listing_limit is the default (and max) number of items returned | ||
# for an account listing request | ||
#account_listing_limit = 10000 | ||
|
||
|
||
# max_account_name_length is the max number of bytes in the utf8 encoding | ||
# of an account name | ||
|
||
#max_account_name_length = 256 | ||
|
||
|
||
# max_container_name_length is the max number of bytes in the utf8 encoding | ||
# of a container name | ||
|
||
#max_container_name_length = 256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.