]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tests/osd: creating a Teuthology test re missing SnapMapper entries
authorRonen Friedman <rfriedma@redhat.com>
Tue, 23 Aug 2022 05:12:18 +0000 (05:12 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 2 Sep 2022 07:40:54 +0000 (10:40 +0300)
commit84d9c4d177bb1b197910e2b93a4b186a9ccd13f1
tree045b275c37fba17f07f88fb2c70a681678c4153a
parentdc254da593956eb05f585a7ff30614d3cc694504
tests/osd: creating a Teuthology test re missing SnapMapper entries

The test (in the standalone/scrub suite) verifies that the scrubber
detects (and issues a cluster-log error) whenever a mapping entry
("SNA_") is missing in the SnapMapper DB.

Specifically, here the entry is corrupted - shortened as per
https://tracker.ceph.com/issues/56147.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
qa/standalone/scrub/osd-mapper.sh [new file with mode: 0755]
qa/standalone/scrub/scrub-helpers.sh
src/osd/scrubber/scrub_backend.cc