From 290f4419600f1cf63ad3db8b1c65426e777c6be2 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 17 Apr 2024 13:17:40 -0400 Subject: [PATCH] doc/radosgw: use 'confval' directive for reshard config options this will render the config options with their descriptions/defaults taken directly from common/options/rgw.yaml.in Signed-off-by: Casey Bodley (cherry picked from commit 50ebbc538c02352950d9c04e8b41b2d88701c552) --- doc/radosgw/dynamicresharding.rst | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/doc/radosgw/dynamicresharding.rst b/doc/radosgw/dynamicresharding.rst index b8bd68d9e0c10..27bf070b104b1 100644 --- a/doc/radosgw/dynamicresharding.rst +++ b/doc/radosgw/dynamicresharding.rst @@ -45,21 +45,12 @@ multisite environment. For information on dynamic resharding, see Configuration ============= -Enable/Disable dynamic bucket index resharding: - -- ``rgw_dynamic_resharding``: true/false, default: true - -Configuration options that control the resharding process: - -- ``rgw_max_objs_per_shard``: maximum number of objects per bucket index shard before resharding is triggered, default: 100000 - -- ``rgw_max_dynamic_shards``: maximum number of bucket index shards that dynamic resharding can increase to, default: 1999 - -- ``rgw_reshard_bucket_lock_duration``: duration, in seconds, that writes to the bucket are locked during resharding, default: 360 (i.e., 6 minutes) - -- ``rgw_reshard_thread_interval``: maximum time, in seconds, between rounds of resharding queue processing, default: 600 seconds (i.e., 10 minutes) - -- ``rgw_reshard_num_logs``: number of shards for the resharding queue, default: 16 +.. confval:: rgw_dynamic_resharding +.. confval:: rgw_max_objs_per_shard +.. confval:: rgw_max_dynamic_shards +.. confval:: rgw_reshard_bucket_lock_duration +.. confval:: rgw_reshard_thread_interval +.. confval:: rgw_reshard_num_logs Admin commands ============== -- 2.39.5