ceph/branches/riccardo/monitor2/doc/shutdown.txt
riccardo80 07ac5d3e74 creating branch for distributed monitor
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1068 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 05:43:23 +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.