]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PG: fix cached_removed_snaps bug in PGPool::update after map gap 12791/head
authorSamuel Just <sjust@redhat.com>
Mon, 12 Dec 2016 18:35:38 +0000 (10:35 -0800)
committerSamuel Just <sjust@redhat.com>
Wed, 4 Jan 2017 21:46:24 +0000 (13:46 -0800)
commit895ab243fe5d3bd07bff0bd422d1dc9cb561f0a0
treec818e24027cfd66eaacff65fd88db6e24168fac3
parent299478a1e69c9da8dc902e2f102d5d272412fdc8
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>
(cherry picked from commit 5642e7e1b3bb6ffceddacd2f4030eb13a17fcccc)
src/osd/PG.cc