]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/PGMonitor: improve debugging on PGMap updates slightly
authorSage Weil <sage@inktank.com>
Fri, 7 Mar 2014 21:56:31 +0000 (13:56 -0800)
committerSage Weil <sage@inktank.com>
Fri, 7 Mar 2014 21:56:31 +0000 (13:56 -0800)
Chasing #7652
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/PGMonitor.cc

index c93e8557f869ad4fe636d99736846859fbf52a91..567be518938ad131d09ab672eaf87e59eff8a137 100644 (file)
@@ -434,9 +434,10 @@ void PGMonitor::apply_pgmap_delta(bufferlist& bl)
   while (!p.end()) {
     pg_t pgid;
     ::decode(pgid, p);
-    dout(20) << " refreshing pg " << pgid << dendl;
     bufferlist bl;
     int r = mon->store->get(pgmap_pg_prefix, stringify(pgid), bl);
+    dout(20) << " refreshing pg " << pgid << " got " << r << " len "
+            << bl.length() << dendl;
 
     if (pg_pool_sum_old.count(pgid.pool()) == 0)
       pg_pool_sum_old[pgid.pool()] = pg_map.pg_pool_sum[pgid.pool()];