From: Josh Durgin Date: Wed, 20 Sep 2017 05:18:35 +0000 (-0400) Subject: osd/PrimaryLogPG: request osdmap update in the right block X-Git-Tag: v13.0.1~853^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=afc6624f768ea3c6e2d155122797db5cce8836f7;p=ceph.git osd/PrimaryLogPG: request osdmap update in the right block Fixes: http://tracker.ceph.com/issues/21428 Signed-off-by: Josh Durgin --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index de0ea8df4537..563686dd010f 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -1646,7 +1646,6 @@ void PrimaryLogPG::do_request( << p->first << " not empty, queueing" << dendl; p->second.push_back(op); op->mark_delayed("waiting_for_map not empty"); - osd->request_osdmap_update(op->min_epoch); return; } if (!have_same_or_newer_map(op->min_epoch)) { @@ -1654,6 +1653,7 @@ void PrimaryLogPG::do_request( << ", queue on waiting_for_map " << op->get_source() << dendl; waiting_for_map[op->get_source()].push_back(op); op->mark_delayed("op must wait for map"); + osd->request_osdmap_update(op->min_epoch); return; }