]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: stop scrub_purged_snaps() from ignoring osd_beacon_report_interval 64837/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 5 Aug 2025 14:11:59 +0000 (16:11 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 1 Sep 2025 12:07:50 +0000 (14:07 +0200)
commitd4f90ea6d3c5c565d1ddc6f9ecd9499048f054c0
tree93d0e7c8c0496bd61dedaa409a8bae75d45c9aa6
parentbe4101792afa9fe2f46b91ca94169abd8585d634
osd: stop scrub_purged_snaps() from ignoring osd_beacon_report_interval

OSD beacons could be burdersome to the enitre cluster, as they lead
to generation of new `OSDMap` epochs. Therefore their frequency is
restricted through `osd_beacon_report_interval` to 5 mins by default.

Unfortunately, the `OSD::send_purged_snaps()` is unaware about this
policy with the net result being storm of OSDMaps. This patch unifies
its behavior with `OSD::tick_without_osd_lock()`.

Fixes: https://tracker.ceph.com/issues/72412
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h