summaryrefslogtreecommitdiff
path: root/etc
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 /etc
parent7ac00ad6c1766c300a99ea4164f57e3c4dc96f55 (diff)
parent2a593174a5d74426e7e771fb65bc5ebd9de08c60 (diff)
downloadswift-17489ce7bfb19bc6cc68f081b69cc056df0e0f9c.tar.gz
Merge "sharder: avoid small tail shards"
Diffstat (limited to 'etc')
-rw-r--r--etc/container-server.conf-sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/container-server.conf-sample b/etc/container-server.conf-sample
index 262010e42..8ae1a71db 100644
--- a/etc/container-server.conf-sample
+++ b/etc/container-server.conf-sample
@@ -374,6 +374,12 @@ use = egg:swift#xprofile
# default is shard_container_threshold // 2
# rows_per_shard = 500000
#
+# 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.
+# minimum_shard_size = 100000
+#
# When auto-sharding is enabled shrink_threshold defines the object count
# below which a 'donor' shard container will be considered for shrinking into
# another 'acceptor' shard container. The default is determined by