]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PG: simplify replica purged_snaps update
authorSage Weil <sage@redhat.com>
Fri, 1 Dec 2017 16:39:17 +0000 (10:39 -0600)
committerSage Weil <sage@redhat.com>
Sat, 2 Dec 2017 03:26:49 +0000 (21:26 -0600)
commit231ec67b7a6d0ca228266cccd0ef53a77b5428e6
tree06e13abb1ca2b99753e64a4e3f8e03a140e5869d
parentf04729cedee9c2c53dd56b952b6b2167ae392da1
osd/PG: simplify replica purged_snaps update

This dependency on the ondisk version dates back before argonaut, and no
longer makes sense.  Once the snap is trimmed by the primary, and
purged_snaps is updated, the replica can (must!) blindly follow suit.

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