diff options
author | Zuul <zuul@review.opendev.org> | 2021-07-08 17:00:52 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-07-08 17:00:52 +0000 |
commit | 17489ce7bfb19bc6cc68f081b69cc056df0e0f9c (patch) | |
tree | 2be40bbc1d5469bd4df98021f3d330d9e6120cad /etc | |
parent | 7ac00ad6c1766c300a99ea4164f57e3c4dc96f55 (diff) | |
parent | 2a593174a5d74426e7e771fb65bc5ebd9de08c60 (diff) | |
download | swift-17489ce7bfb19bc6cc68f081b69cc056df0e0f9c.tar.gz |
Merge "sharder: avoid small tail shards"
Diffstat (limited to 'etc')
-rw-r--r-- | etc/container-server.conf-sample | 6 |
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 |