]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: only maintain pg_pool_t::removed_snaps for pre-octopus
authorSage Weil <sage@redhat.com>
Tue, 11 Jun 2019 22:45:17 +0000 (17:45 -0500)
committerSage Weil <sage@redhat.com>
Tue, 2 Jul 2019 13:37:49 +0000 (08:37 -0500)
commitde5d3f6a0ad2d63744fa3accb022da7896f87cc4
tree20efef5f82075086823493f1ea2a7b6eb88140ae
parent8f714e2ba6944f15764739f9ea9f3863d31defd1
mon/OSDMonitor: only maintain pg_pool_t::removed_snaps for pre-octopus

- do not examine removed_snaps
- do not add new items to removed_snaps unless we need pre-octopus compat
- clear removed_snaps in first octopus epoch

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