]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: verify SnapMapper consistency
authorRonen Friedman <rfriedma@redhat.com>
Mon, 1 Aug 2022 10:14:58 +0000 (10:14 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 2 Sep 2022 07:40:54 +0000 (10:40 +0300)
commitdc254da593956eb05f585a7ff30614d3cc694504
treeb89870d15dcb641d5d79e8af620626374d0d92cc
parentd32b1b41b8f1843dcc2a5a0542410f09ea82e466
osd/scrub: verify SnapMapper consistency

Whenever the scrubber access the SnapMapper for the snaps of a specific
clone, the mapper will now verify that the snaps have the required
mapping DB entries (the 'SNA_' keys).

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/hobject_fmt.h
src/osd/PGBackend.h
src/osd/PrimaryLogPG.h
src/osd/SnapMapper.h
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h
src/osd/scrubber/scrub_backend.cc
src/test/test_snap_mapper.cc