]> 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 12906/head
authorSamuel Just <sjust@redhat.com>
Mon, 12 Dec 2016 18:35:38 +0000 (10:35 -0800)
committerNathan Cutler <ncutler@suse.com>
Thu, 12 Jan 2017 16:16:39 +0000 (17:16 +0100)
commitef513a78062569de081311b50fffdf59d4031ea7
treedcf1d5a3070ff143bb4c74cb43f36da93270b83c
parent48687c79adf489b27af15bb44205913acc89af7a
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