Fixes: https://tracker.ceph.com/issues/48984
Signed-off-by: David Zafman <dzafman@redhat.com>
// the publishing here seems to be required for tests synchronization
m_pg->publish_stats_to_osd();
m_flags.deep_scrub_on_error = request.deep_scrub_on_error;
- request = requested_scrub_t{};
}
void PgScrubber::scrub_compare_maps()
ceph_assert(m_pg->is_locked());
+ m_pg->m_planned_scrub = requested_scrub_t{};
+
// if the repair request comes from auto-repair and large number of errors,
// we would like to cancel auto-repair