]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: clean up mdsmon a bit; do takeovers from tick(), not _committed()
authorSage Weil <sage@newdream.net>
Tue, 16 Dec 2008 19:45:57 +0000 (11:45 -0800)
committerSage Weil <sage@newdream.net>
Wed, 17 Dec 2008 18:32:09 +0000 (10:32 -0800)
commit6fb760b572bde71ccb897900fedaf40e824de4d6
tree54818ce8fde8a7570822d7cde47cc04121adaf50
parent80302174fe04b441f8ad1c8e9aa57e51917c9090
mon: clean up mdsmon a bit; do takeovers from tick(), not _committed()

This puts all the takeover logic in one place.  And avoids any
funny issues where the monitor fails before it can do a takeover.
More robust.
src/mon/MDSMonitor.cc