]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd: fixup OpTracker destruct assert, waiting_for_osdmap take ref
authorlinbing <hawkerous@gmail.com>
Tue, 19 Feb 2019 09:28:54 +0000 (17:28 +0800)
committerlinbing <hawkerous@gmail.com>
Tue, 19 Feb 2019 09:33:29 +0000 (17:33 +0800)
     with OpRequest

Fixes: http://tracker.ceph.com/issues/38377
Signed-off-by: linbing <linbing@t2cloud.net>
src/osd/OSD.cc

index 9fb35ff88132a764fe31e48585d8a295a0e42bba..08282780bf029572e412a5e4474b8866adddfcea 100644 (file)
@@ -3826,6 +3826,7 @@ int OSD::shutdown()
   op_shardedwq.drain();
   {
     finished.clear(); // zap waiters (bleh, this is messy)
+    waiting_for_osdmap.clear();
   }
 
   // unregister commands