Commit d4f90ea
committed
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 <[email protected]>1 parent be41017 commit d4f90ea
2 files changed
+23
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6538 | 6538 | | |
6539 | 6539 | | |
6540 | 6540 | | |
6541 | | - | |
6542 | | - | |
6543 | | - | |
6544 | | - | |
6545 | | - | |
6546 | | - | |
6547 | | - | |
6548 | | - | |
6549 | | - | |
6550 | | - | |
6551 | | - | |
6552 | | - | |
6553 | | - | |
6554 | | - | |
| 6541 | + | |
6555 | 6542 | | |
6556 | 6543 | | |
6557 | 6544 | | |
| |||
7466 | 7453 | | |
7467 | 7454 | | |
7468 | 7455 | | |
| 7456 | + | |
| 7457 | + | |
| 7458 | + | |
| 7459 | + | |
| 7460 | + | |
| 7461 | + | |
| 7462 | + | |
| 7463 | + | |
| 7464 | + | |
| 7465 | + | |
| 7466 | + | |
| 7467 | + | |
| 7468 | + | |
| 7469 | + | |
| 7470 | + | |
| 7471 | + | |
| 7472 | + | |
| 7473 | + | |
| 7474 | + | |
| 7475 | + | |
7469 | 7476 | | |
7470 | 7477 | | |
7471 | 7478 | | |
| |||
7552 | 7559 | | |
7553 | 7560 | | |
7554 | 7561 | | |
7555 | | - | |
| 7562 | + | |
7556 | 7563 | | |
7557 | 7564 | | |
7558 | 7565 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1882 | 1882 | | |
1883 | 1883 | | |
1884 | 1884 | | |
| 1885 | + | |
1885 | 1886 | | |
1886 | 1887 | | |
1887 | 1888 | | |
| |||
0 commit comments