From d1eca5f669bbb55c8370a0bb2fb9b05f5d3565af Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 1 Jun 2017 15:14:27 +0800 Subject: [PATCH] mon/OSDMonitor: print pgid before looking it up in mapping Signed-off-by: Kefu Chai --- src/mon/OSDMonitor.cc | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3