]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: assert on query on deleting pg
authorSage Weil <sage@newdream.net>
Mon, 18 Apr 2011 22:30:50 +0000 (15:30 -0700)
committerSage Weil <sage@newdream.net>
Mon, 18 Apr 2011 22:30:50 +0000 (15:30 -0700)
This shouldn't happen; assert if it does.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/OSD.cc

index 261c6147a163d32afe82fdecc49ae24c09cc7b8a..a39779f585579089b31a138e8785eae2cd951ccc 100644 (file)
@@ -4517,7 +4517,8 @@ void OSD::handle_pg_query(MOSDPGQuery *m)
        * get an old query from an old primary.. which we can safely
        * ignore.
        */
-      dout(10) << *pg << " query on deleting pg; ignoring" << dendl;
+      dout(0) << *pg << " query on deleting pg" << dendl;
+      assert(0 == "this should not happen");
       pg->unlock();
       continue;
     }