mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
mds: reorder suicide/shutdown a bit
* shutdown msgr last * stop timer quickly, in case there are other events Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
318f3df718
commit
ba5e357e4e
@ -1628,19 +1628,18 @@ void MDS::suicide()
|
||||
}
|
||||
timer.cancel_all_events();
|
||||
//timer.join();
|
||||
timer.shutdown();
|
||||
|
||||
// shut down cache
|
||||
mdcache->shutdown();
|
||||
|
||||
if (objecter->initialized)
|
||||
objecter->shutdown_locked();
|
||||
|
||||
// shut down messenger
|
||||
messenger->shutdown();
|
||||
|
||||
monc->shutdown();
|
||||
|
||||
timer.shutdown();
|
||||
// shut down messenger
|
||||
messenger->shutdown();
|
||||
}
|
||||
|
||||
void MDS::respawn()
|
||||
|
Loading…
Reference in New Issue
Block a user