]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: do not force proposal when no osds 1179/head
authorLoic Dachary <loic@dachary.org>
Sun, 2 Feb 2014 00:09:52 +0000 (01:09 +0100)
committerLoic Dachary <loic@dachary.org>
Tue, 4 Feb 2014 00:25:15 +0000 (01:25 +0100)
commite5ed1b2998de31a769dcfe78682cab92393a5412
tree129870a5eb13c5b24468d799b609231e5f4d9ad3
parente4ff4720d5958c794541bb1b83217a7c636822ed
mon: do not force proposal when no osds

If there are no OSDs, there is no need to propose to paxos. It does not
hurt on a production cluster but it matters when running tests because
it effectively alway ignores --paxos-propose-interval.

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
src/mon/OSDMonitor.cc