]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options.cc: Lower the default value of osd_deep_scrub_large_omap_object_key_th... 29173/head
authorNeha Ojha <nojha@redhat.com>
Fri, 28 Jun 2019 16:31:35 +0000 (09:31 -0700)
committerNeha Ojha <nojha@redhat.com>
Mon, 22 Jul 2019 17:17:09 +0000 (17:17 +0000)
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>
(cherry picked from commit 1ec948409ab547effbd5c656af8f0c9565f1717a)

src/common/options.cc

index 9c79197cf93d63e1902665dec9dc9bc90cf652ad..3402b740dbb7d83395440f5472d6b7fb3489e0b7 100644 (file)
@@ -3531,7 +3531,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"),