]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/SnapMapper: fix _lookup_purged_snap 56814/head
authorMatan Breizman <mbreizma@redhat.com>
Tue, 13 Feb 2024 12:02:27 +0000 (12:02 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 10 Apr 2024 11:06:14 +0000 (11:06 +0000)
commitf45d9c30fa7e6931d946806ab6eb0f23756afb1c
treefddd9cc3e6d6e2e83d3f2f860b99404e4217bfdc
parentdea717a37c7849ca8459c02fb965020aedcc0a9a
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>
(cherry picked from commit 8f2ee228af0fa0723328c0cf5c7e85906be8e287)
src/osd/SnapMapper.cc