]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState: do not complain about past_intervals constrained by oldest epoch 30222/head
authorSage Weil <sage@redhat.com>
Mon, 19 Aug 2019 21:32:22 +0000 (16:32 -0500)
committerNathan Cutler <ncutler@suse.com>
Sat, 7 Sep 2019 07:25:22 +0000 (09:25 +0200)
commit6129289be4d6de3e3ba790e379a264daba3349e7
tree109df4e32dd1370b43ab4abdaa325beebbeb1e0f
parent5b36a9510f7f2cbc6194d885b138b7039ed36bf1
osd/PeeringState: do not complain about past_intervals constrained by oldest epoch

The start of the required interval has a floor set by the oldest osdmap
epoch we have.  That can lead to an invalid/empty required interval
(because the start is >= the end), but the PG may still have past
intervals.  That can be cause by a slow PG deletion.

No need to complain about this harmless condition.

Fixes: https://tracker.ceph.com/issues/39546
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit b1396774a40b7b3e54c9f52b6bb6f03d31c35401)

Conflicts:
src/osd/PeeringState.cc
- file does not exist in mimic; made the changes manually in src/osd/PG.cc
- mimic has a different way of getting the oldest osdmap
src/osd/PG.cc