]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common/options.cc: Lower the default value of osd_deep_scrub_large_omap_object_key_th...
authorNeha Ojha <nojha@redhat.com>
Fri, 28 Jun 2019 16:31:35 +0000 (09:31 -0700)
committerNeha Ojha <nojha@redhat.com>
Mon, 1 Jul 2019 16:18:10 +0000 (09:18 -0700)
Warning when there are already 2M omap keys does not help, reduce this
threshold so that preemptive measures can be taken based on this.

Fixes: https://tracker.ceph.com/issues/40583
Signed-off-by: Neha Ojha <nojha@redhat.com>
src/common/options.cc

index 8f9c899e6ee0e44e4c9cc6612af2673b7467658d..331dd6caeb016672da19dda615f0f3ea12240bd8 100644 (file)
@@ -3501,7 +3501,7 @@ std::vector<Option> get_global_options() {
     .set_description("Update overall object digest only if object was last modified longer ago than this"),
 
     Option("osd_deep_scrub_large_omap_object_key_threshold", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
-    .set_default(2000000)
+    .set_default(200000)
     .set_description("Warn when we encounter an object with more omap keys than this")
     .add_service("osd")
     .add_see_also("osd_deep_scrub_large_omap_object_value_sum_threshold"),