]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: fix cached_removed_snaps bug in PGPool::update after map gap 12571/head 12573/head
authorSamuel Just <sjust@redhat.com>
Mon, 12 Dec 2016 18:35:38 +0000 (10:35 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 15 Dec 2016 18:51:02 +0000 (10:51 -0800)
commit5642e7e1b3bb6ffceddacd2f4030eb13a17fcccc
tree2499e0b6edf155d23af5b8fa06b9e5b3b2706874
parentd4b6615a49e4635113f9ba900e9c57147b224357
PG: fix cached_removed_snaps bug in PGPool::update after map gap

5798fb3bf6d726d14a9c5cb99dc5902eba5b878a actually made 15943 worse
by always creating an out-of-date cached_removed_snaps value after
a map gap rather than only in the case where the the first map after
the gap did not remove any snapshots.

Introduced: 5798fb3bf6d726d14a9c5cb99dc5902eba5b878a
Fixes: http://tracker.ceph.com/issues/15943
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.cc