]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MDSMonitor: make 'mds fail' idempotent for IDs 3377/head
authorJohn Spray <john.spray@redhat.com>
Thu, 15 Jan 2015 14:21:51 +0000 (14:21 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 15 Jan 2015 14:23:26 +0000 (14:23 +0000)
commit889969e21df7a8809e7eabc8127ce2335c85769b
tree3b6ea4fbde4f96516c9ff61d5656e3c65d66865d
parenta6cb74702df5ed4546fd6afc4e0ea82c778555b8
mon/MDSMonitor: make 'mds fail' idempotent for IDs

Was returning ENOENT, should succeed for 'fail' on
a non-existent name, as the fail operation makes
it cease to exist.

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