]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/OSDMonitor: fix lookup_purged_snap implementation
authorSage Weil <sage@redhat.com>
Fri, 7 Jun 2019 15:23:18 +0000 (10:23 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 13:37:50 +0000 (08:37 -0500)
commit441f42b8add06304df331b655b75da9b3a491cd8
tree40c8cb5c04b7deebdeae637de2ae8ee40d139779
parenta12d80a8137a47743996d89379e63cf80d005ae3
mon/OSDMonitor: fix lookup_purged_snap implementation

- look at purged, not removed snap keys
- fix the key check to look at the *key name* prefix, not the overall
  prefix (the one implemented by the KeyValueDB interface).

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc