]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: mention pgs that do not change during advance_map()
authorSage Weil <sage@newdream.net>
Tue, 4 Nov 2008 00:53:45 +0000 (16:53 -0800)
committerSage Weil <sage@newdream.net>
Tue, 4 Nov 2008 00:54:32 +0000 (16:54 -0800)
I was seeing a missed clear_primary_state() for some pgs... not sure why
advance_map() missed them.  Having trouble reproducing.

src/osd/OSD.cc

index 3964483bafbe881d5ac71df9525aaa92d5b4f851..fecf3d6ebf299f3cf8aa3394a1f279a2885a67c1 100644 (file)
@@ -1743,8 +1743,10 @@ void OSD::advance_map(ObjectStore::Transaction& t, interval_set<snapid_t>& remov
     }   
     
     // no change?
-    if (tacting == pg->acting) 
+    if (tacting == pg->acting) {
+      dout(15) << *pg << " unchanged with " << tacting << dendl;
       continue;
+    }
     
     // -- there was a change! --
     pg->lock();