]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MDSMonitor: make legacy 'newfs' command idempotent 2113/head
authorSage Weil <sage@redhat.com>
Thu, 17 Jul 2014 00:24:36 +0000 (17:24 -0700)
committerSage Weil <sage@redhat.com>
Thu, 17 Jul 2014 00:24:36 +0000 (17:24 -0700)
commit5f6b11a6ad5c224d823712d07eb6fff861d9c60d
tree24985fca1bb33e9ccde581014b3bd1b2d040d033
parentbf252c8df9d77ae8f144ec5b826e773b20273695
mon/MDSMonitor: make legacy 'newfs' command idempotent

We need to return success if we get a dup command.  Simply check whether
the fs is already enabled with the same pools and name.

Fixes: #8857
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MDSMonitor.cc