osd/scrub: only call publish_stats_to_osd() where allowed and needed#50283
osd/scrub: only call publish_stats_to_osd() where allowed and needed#50283
Conversation
This patch removes several unnecessary calls to publish_stats_to_osd() in the clear_pgscrub_state pathway used during interval changes. We didn't actually have anything to publish and we can't validly call publish_stats_to_osd() when we aren't an active primary anyway (which we can't be during an interval change). Fixes: https://tracker.ceph.com/issues/58496 Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
|
This PR contains one of the two fixes (one of the two commits) in |
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
|
It looks we haven't backported the problematic commit: |
|
Rados suite review: https://pulpito.ceph.com/?branch=wip-yuri8-testing-2023-03-07-1527 Failures, unrelated: Details: |
This patch removes several unnecessary calls to publish_stats_to_osd() in the clear_pgscrub_state pathway used during interval changes. We didn't actually have anything to publish and we can't validly call publish_stats_to_osd() when we aren't an active primary anyway (which we can't be during an interval change).
Fixes: https://tracker.ceph.com/issues/58496