]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Correcting the value of rgw_gc_max_queue_size.
authorPritha Srivastava <prsrivas@redhat.com>
Mon, 14 Oct 2019 04:09:03 +0000 (09:39 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Sat, 19 Oct 2019 07:58:32 +0000 (13:28 +0530)
queue head size must be subtracted from osd_max_object_size
to get rgw_gc_max_queue_size.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/common/options.cc

index 2612e6b19177794e5fde16eee06c651f0c782af3..e747a00b764d932b39b037c1073883d8aa682861 100644 (file)
@@ -6467,12 +6467,12 @@ std::vector<Option> get_rgw_options() {
     .set_description("maximum allowed size of deferred entries in queue head for gc"),
 
     Option("rgw_gc_max_queue_size", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
-    .set_default(128_M)
+    .set_default(134213632)
     .set_description("Maximum allowed queue size for gc")
     .set_long_description(
         "The maximum allowed size of each gc queue, and its value should not "
-        "be greater than osd_max_object_size.")
-    .add_see_also({"osd_max_object_size"}),
+        "be greater than (osd_max_object_size - rgw_gc_max_deferred_entries_size - 1K).")
+    .add_see_also({"osd_max_object_size", "rgw_gc_max_deferred_entries_size"}),
 
     Option("rgw_gc_max_deferred", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
     .set_default(50)