]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MDSMonitor: respect MDSMAP_DOWN when promoting standbys
authorJohn Spray <john.spray@redhat.com>
Wed, 7 Jan 2015 11:47:34 +0000 (11:47 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 7 Jan 2015 14:13:12 +0000 (14:13 +0000)
commitc400ba1e26239e02f149d24d344a2eccb1cf9c6b
tree092430d325c2a29767a98c2e667c28d39bba0e26
parent6fd348fe43399a882906646004bf3f5a4cf9dabb
mon/MDSMonitor: respect MDSMAP_DOWN when promoting standbys

Previously, a standby could become active even if 'cluster_down'
had been run.  This was awkward, because it would get you a
"laggy or crashed" mds for the standby that was actually
up and running, just being ignored because of cluster_down.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MDSMonitor.cc