]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/SnapMapper: fix _lookup_purged_snap 55562/head
authorMatan Breizman <mbreizma@redhat.com>
Tue, 13 Feb 2024 12:02:27 +0000 (12:02 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 13 Feb 2024 12:04:53 +0000 (12:04 +0000)
commit8f2ee228af0fa0723328c0cf5c7e85906be8e287
treebed2e26767cf88032dc3dba912fe35183ba3a768
parentf912e9045ad2055311a189a0de2995c6b5cbd2ba
osd/SnapMapper: fix _lookup_purged_snap

We should verify that the snap we are looking for matches the
pool also.
Same as we are checking in OSDMonitor:
https://github.com/ceph/ceph/pull/28865/commits/0a48392ce066471233cc1e81e957b2999b9c411c

Fixes: https://tracker.ceph.com/issues/64347
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/osd/SnapMapper.cc