]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: no auto-repair in 'after_repair' type of scrubs 63525/head
authorRonen Friedman <rfriedma@redhat.com>
Tue, 27 May 2025 15:13:09 +0000 (10:13 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 27 May 2025 15:13:09 +0000 (10:13 -0500)
commit0d1ba9de151c4a6dc2b2a8568fb9932d7b6ea49a
tree9c2e700ffa91c692f73117217c5d995bd32ba32a
parentbe700089a065864aea9e241d0dcdb44c4464b409
osd/scrub: no auto-repair in 'after_repair' type of scrubs

The deep scrubs that are initiated after a full "peering" repair, are
not supposed to auto-repair any errors - just report them.

This behavior detail was inadvertently changed recently, and is fixed
here.

Fixes: https://tracker.ceph.com/issues/71463
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/scrub_job.cc
src/osd/scrubber/scrub_job.h
src/osd/scrubber/scrub_queue_entry.h