]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: resend osd_pgtemp if it's not acked
authorKefu Chai <kchai@redhat.com>
Mon, 9 Apr 2018 16:56:05 +0000 (00:56 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 10 Apr 2018 12:27:40 +0000 (20:27 +0800)
commit9c5cb4ea620da4ef14345ebc8018f9ed008c4345
treef8fae0184719b2eeadad7448748144fc1ab42618
parent18571821b5373638472f2cad7ed9d05be7aec2ac
osd: resend osd_pgtemp if it's not acked

if the osd_pgtemp message is dropped before monitor receives it, we need
to resend it. otherwise a pg could be stuck in activating state if the
pg creation was withheld by the max-pg-per-osd on the replica, and then
the replica osd removes some existing pg.

Fixes: http://tracker.ceph.com/issues/23610
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h
src/osd/PG.cc