]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: restoring timely collection of PG stats
authorRonen Friedman <rfriedma@redhat.com>
Wed, 7 Feb 2024 13:25:18 +0000 (07:25 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 9 Feb 2024 10:14:10 +0000 (04:14 -0600)
500 seconds is way too long, e.g. when compared to the 5s
default configuration option for the manager collection of the OSD data.

Fixes tracker issue 53342 note 5 (a specific scenario leading
to 'not all pgs scrubbed')

Fixes: https://tracker.ceph.com/issues/53342 - partial fix
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/options/global.yaml.in

index 072f94a9d7967e9b583d4f0e5590b25c2e13aa40..feb9aeb7b5e597938a532cf63a697fd84a3c2a85 100644 (file)
@@ -2920,8 +2920,8 @@ options:
   level: advanced
   desc: The maximum interval seconds for update pg's reported_epoch,
         benefit for osdmap trim when osdmap not change frequently.
-  default: 500
   with_legacy: true
+  default: 5
 - name: osd_pg_stat_report_interval_max_epochs
   type: int
   level: advanced