]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Monitor: import MonCommands.h from original Dumpling and expose it
authorGreg Farnum <greg@inktank.com>
Mon, 9 Dec 2013 06:17:39 +0000 (22:17 -0800)
committerGreg Farnum <greg@inktank.com>
Mon, 9 Dec 2013 19:26:04 +0000 (11:26 -0800)
commitba673be3e64438aa48c3134988e89ae80e638132
tree925079ef95d5e3e51eae5f49a4a0148f74790bb1
parent3cb58f74068021ac10dfc0d5e66a89ab5c1df1c1
Monitor: import MonCommands.h from original Dumpling and expose it

If the Elector doesn't receive a set of commands from the elected leader, it
assumes the monitor is "classic" and uses the Dumpling command set as
the leader set.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/mon/DumplingMonCommands.h [new file with mode: 0644]
src/mon/Elector.cc
src/mon/Makefile.am
src/mon/Monitor.cc
src/mon/Monitor.h