]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MDSMonitor: fix `mds fail` for standby MDSs 3310/head
authorJohn Spray <john.spray@redhat.com>
Wed, 7 Jan 2015 12:37:40 +0000 (12:37 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 7 Jan 2015 14:13:12 +0000 (14:13 +0000)
commit97cc409feddd544e125d636dc89f140e57cb58e4
treebb138d3fab6f4f9523214a0cebe0bc7f08338ae8
parentc400ba1e26239e02f149d24d344a2eccb1cf9c6b
mon/MDSMonitor: fix `mds fail` for standby MDSs

This command takes a gid, rank or name, but
in the name case it would previously only work if
the named daemon had a rank assigned (mds_info->rank >= 0),
otherwise it would fail silently.

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