]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD::handle_pg_create: check same_primary_since 8382/head
authorSamuel Just <sjust@redhat.com>
Tue, 22 Mar 2016 21:20:12 +0000 (14:20 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 30 Mar 2016 22:34:31 +0000 (15:34 -0700)
commit7e58045f0e3226882f7b608300e70fd0c97dd6bf
tree387ca5529ffa4fd6bd1e8df930743eb91f237a6b
parentd9949e2873ffaab392a1c833dc53dcf2199322ca
OSD::handle_pg_create: check same_primary_since

Rather than add a flag to handle_pg_peering_evt, check
same_primary_since here and pass the create event to
handle_pg_peering_evt as if it originated at the current epoch (the
project_pg_history checks in handle_pg_peering_evt will be noops).

Fixes: tracker.ceph.com/issues/15241
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/OSD.cc