]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: make ceph-mon --mkfs idempotent
authorLoic Dachary <loic@dachary.org>
Sun, 29 Dec 2013 12:14:14 +0000 (13:14 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 31 Dec 2013 17:58:25 +0000 (18:58 +0100)
commit1eafe8dc45419a6b7d319345cac7fbc0d684d1b1
tree877e33a702082d942ac4ded8d17b7c6e1de3d589
parentf0ae4abd0d269215d02d3126cf25ac68099d1f0f
mon: make ceph-mon --mkfs idempotent

A mon is considered to exist if the mon-data directory exists and is not
empty. If ceph-mon --mkfs is run twice, it will display succeed the
second time around and display an informative message.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/ceph_mon.cc