From: Kefu Chai Date: Thu, 1 Jun 2017 07:14:27 +0000 (+0800) Subject: mon/OSDMonitor: print pgid before looking it up in mapping X-Git-Tag: ses5-milestone6~8^2~19^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d1eca5f669bbb55c8370a0bb2fb9b05f5d3565af;p=ceph.git mon/OSDMonitor: print pgid before looking it up in mapping Signed-off-by: Kefu Chai --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 1b9877f6333..b74853f1a27 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3290,6 +3290,7 @@ void OSDMonitor::update_creating_pgs() int acting_primary = -1; auto pgid = pg.first; auto mapped = pg.second.first; + dout(20) << __func__ << " looking up " << pgid << dendl; mapping.get(pgid, nullptr, nullptr, nullptr, &acting_primary); // check the previous creating_pgs, look for the target to whom the pg was // previously mapped