ceph/branches/sage/mds/doc/shutdown.txt
sageweil 665688c9de new mds branch
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1543 29311d96-e01e-0410-9327-a35deaab8ce9
2007-07-23 21:48:13 +00:00

14 lines
585 B
Plaintext

- mds0 triggers shutdown by sending a shutdown_start to all nodes.
- from here on out, all client requests are discarded (unless they are a file close?)
- each mds checks for outstanding inter-mds transations. e.g imports, discoveries, etc. once they're all done, send a shutdown_ready to mds0
- each mds successively disassembles its cache, flushing data to long-term storage, and sending inodeexpires, exporting imported dirs to parent (after they're clean + empty)
- when the cache is empty, send shutdown_done to mds0 and exit.
- mds0 exits when all mdss have finished.