]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: add a config description for rgw_override_bucket_index_max_shards
authorCasey Bodley <cbodley@redhat.com>
Tue, 28 Jan 2020 21:35:55 +0000 (16:35 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 27 Feb 2020 20:12:22 +0000 (15:12 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/common/options.cc

index 4442e97ba822b64e7bcb0e5088be2155ff14d855..8b05c691e85cfea9c2e4d1c62e4a6bd034c7d329 100644 (file)
@@ -5391,7 +5391,10 @@ std::vector<Option> get_rgw_options() {
 
     Option("rgw_override_bucket_index_max_shards", Option::TYPE_UINT, Option::LEVEL_DEV)
     .set_default(0)
-    .set_description(""),
+    .set_description("The default number of bucket index shards for newly-created "
+        "buckets. This value overrides bucket_index_max_shards stored in the zone. "
+        "Setting this value in the zone is preferred, because it applies globally "
+        "to all radosgw daemons running in the zone."),
 
     Option("rgw_bucket_index_max_aio", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
     .set_default(128)