]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/scrub: no auto-repair in 'after_repair' type of scrubs 63569/head
authorRonen Friedman <rfriedma@redhat.com>
Tue, 27 May 2025 15:13:09 +0000 (10:13 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 1 Jun 2025 07:15:33 +0000 (10:15 +0300)
commit12c88f8328bbd15bf81da196339a06c9d1c9a058
tree3cb706868ce90784446edb6b62e1a04799e84c8b
parent27f2db04d2d54f822ba79883df2eb729d2aeb342
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>
(cherry picked from commit 0d1ba9de151c4a6dc2b2a8568fb9932d7b6ea49a)
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