]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/common: add guidance for mon_warn_pg_not_scrubbed 62537/head
authorZac Dover <zac.dover@proton.me>
Thu, 27 Mar 2025 12:24:13 +0000 (22:24 +1000)
committerZac Dover <zac.dover@proton.me>
Thu, 27 Mar 2025 14:38:46 +0000 (00:38 +1000)
Add an explanation of how to set the value of
"mon_warn_pg_not_scrubbed_ratio" to the confval definition of that
variable. Although this variable contains the string "mon", it is set on
the Manager. I have added a note to direct users to set this value on
the Manager.

This issue was pointed out by Petr Tlapa on Slack in late March of 2025.

This issue is part of a small project that also encompasses
https://github.com/ceph/ceph/pull/62459, which is associated with commit
aeef59a50ee31072648ba0c7436b6522137614cd

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
src/common/options/global.yaml.in

index 6ea4a32bd5450ce2f93483a4ebcb294dcca16874..e44838fc00c6bf0a1409a36bd848679bc338b627 100644 (file)
@@ -1810,7 +1810,7 @@ options:
 - name: mon_warn_pg_not_scrubbed_ratio
   type: float
   level: advanced
-  desc: Percentage of the scrub max interval past the scrub max interval to warn
+  desc: Raise a health warning when shallow scrubs are delayed by this percentage of the shallow scrub interval. Note that this must be set at mgr or with global scope. Set this configurable with the command "ceph config set mgr mon_warn_pg_not_scrubbed_ratio <ratio_value>".
   default: 0.5
   see_also:
   - osd_scrub_max_interval