]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: create new PGs from activate in last_peering_reset epoch
authorSage Weil <sage@redhat.com>
Fri, 8 Jun 2018 12:29:31 +0000 (07:29 -0500)
committerSage Weil <sage@redhat.com>
Fri, 8 Jun 2018 19:04:39 +0000 (14:04 -0500)
commit339ae18b127984e03c161ae449a6e90129fc9d3b
tree9b6dbc88808f2f9251b8f5065dd9fe7b0e916dfb
parent5b1a58a6f632f3da85570a71b6a588912c225311
osd/PG: create new PGs from activate in last_peering_reset epoch

If we create a new PG (e.g., a backfill target) in the current epoch, it
might be > last_peering_reset.  That can lead to last_peering_reset on
the replica having a higher last_peering_reset than the primary's, which
can then lead to future messages, like pg_scan during backfill, being
ignored.

Fixes: http://tracker.ceph.com/issues/24452
Signed-off-by: Sage Weil <sage@redhat.com>
src/messages/MOSDPGLog.h
src/osd/PG.cc