]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: inherit pg history from merge source, if necessary
authorSage Weil <sage@redhat.com>
Mon, 17 Sep 2018 17:51:41 +0000 (12:51 -0500)
committerSage Weil <sage@redhat.com>
Thu, 20 Sep 2018 13:35:15 +0000 (08:35 -0500)
commite7f4291fe71d782f1269acb1e32345696c3401c5
tree4fc776013d0564d8a27ca7a740c554b2a3ceadea
parent2bfa241f44270290b363d0e4c5f76b7a71441a02
osd/PG: inherit pg history from merge source, if necessary

Having an accurate(ish) same_interval_since is important for making sure
any subsequent PastIntervals we add are consistent with the
last_epoch_clean value that the bounds are tested against.  Otherwise we
might have lec 100 and merge in 150, an interval changes gives us a pi of
[150,something) and we fail the bounds check.

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