]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: use last_epoch_clean from ReadyToMerge point in time for fabricated history
authorSage Weil <sage@redhat.com>
Wed, 12 Sep 2018 20:02:13 +0000 (15:02 -0500)
committerSage Weil <sage@redhat.com>
Thu, 20 Sep 2018 13:35:15 +0000 (08:35 -0500)
commit15701e8c95b2f34d3e90bfadf91e163759b2f709
treec919a6cac7c369544cce6a547a1599928f5a673d
parent142317b2ac36e0b2bd500745dcef8bf871dc49c1
osd/PG: use last_epoch_clean from ReadyToMerge point in time for fabricated history

If we are fabricating the pg history values, we need something that is
reasonably valid, but that won't screw up peering of the PG by indicating
that the PG has peered at some point later than when it really has.
Otherwise we can end up in a situation where everyone thinks there is a
newer pg info out there that doesn't actually exist, and the PG will end
up as incomplete.

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