summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-07-08 17:00:52 +0000
committerGerrit Code Review <review@openstack.org>2021-07-08 17:00:52 +0000
commit17489ce7bfb19bc6cc68f081b69cc056df0e0f9c (patch)
tree2be40bbc1d5469bd4df98021f3d330d9e6120cad /doc
parent7ac00ad6c1766c300a99ea4164f57e3c4dc96f55 (diff)
parent2a593174a5d74426e7e771fb65bc5ebd9de08c60 (diff)
downloadswift-17489ce7bfb19bc6cc68f081b69cc056df0e0f9c.tar.gz
Merge "sharder: avoid small tail shards"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/config/container_server_config.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/source/config/container_server_config.rst b/doc/source/config/container_server_config.rst
index 1684acfca..7961f50e8 100644
--- a/doc/source/config/container_server_config.rst
+++ b/doc/source/config/container_server_config.rst
@@ -329,6 +329,18 @@ rows_per_shard 500000 This defines the initial
containers. The default
is shard_container_threshold // 2.
+minimum_shard_size 100000 Minimum size of the final
+ shard range. If this is
+ greater than one then the
+ final shard range may be
+ extended to more than
+ rows_per_shard in order
+ to avoid a further shard
+ range with less than
+ minimum_shard_size rows.
+ The default value is
+ rows_per_shard // 5.
+
shrink_threshold This defines the
object count below which
a 'donor' shard container