]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-mon: Attempt to obtain monmap from several possible sources 225/head
authorJoao Eduardo Luis <joao.luis@inktank.com>
Fri, 19 Apr 2013 16:28:37 +0000 (17:28 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Mon, 22 Apr 2013 21:55:18 +0000 (22:55 +0100)
commit1164345a6ef51315a7b960feaea6a35fc4b7e571
tree9ecc184a3c28bae30715075f19448967e042fe73
parent9ba32404aebb9c223ad3254d463df9b47352753f
ceph-mon: Attempt to obtain monmap from several possible sources

In order of interest/priority:

  - our latest monmap version
  - a backup monmap version created during sync start, if the store
    appears to be in a post-aborted sync state
  - a mkfs monmap version

If none of these are found, we should go ahead and try to build a
monmap from ceph.conf to join an existing cluster.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/ceph_mon.cc