mirror_corosync/tools
Fabio M. Di Nitto e34d509df7 quorum: change API to return quorum type at initialization time
corosync internal theory of operation is that without a quorum provider
the cluster is always quorate. This is fine for membership free clusters
but it does pose a problem for applications that need membership and
"real" quorum.

this change add quorum_type to quorum_initialize call to return QUORUM_FREE
or QUORUM_SET. Applications can then make their own decisions to error out
or continue operating.

The only other way to know if a quorum provider is enabled/configured is
to poke at confdb/objdb, but adds an unnecessary burden to applications
that really don't need to use an entire library for a boolean value.

Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-10 15:47:24 +01:00
..
.gitignore Convert xml config file 2011-12-20 10:49:20 +01:00
corosync-blackbox diags: add a mechanism to trigger the writing the flight data 2010-05-04 00:56:25 +00:00
corosync-cfgtool.c cfgtool: print list of IP with space between items 2011-03-24 17:42:09 +01:00
corosync-cmapctl.c Add usage text to cmapctl 2012-01-09 10:14:31 +01:00
corosync-cpgtool.c cpgtool: print list of IP with space between items 2011-03-24 17:42:09 +01:00
corosync-fplay.c libqb: logging & trace 2011-08-09 10:37:16 +10:00
corosync-keygen.c Add -l option to corosync-keygen. 2011-03-05 10:02:57 -06:00
corosync-notifyd.c quorum: change API to return quorum type at initialization time 2012-01-10 15:47:24 +01:00
corosync-notifyd.sysconfig.example Add dbus and snmp notifier 2011-02-04 09:47:35 -07:00
corosync-pload.c fix timersub warning on freebsd 2011-01-12 09:42:24 +11:00
corosync-quorumtool.c quorum: change API to return quorum type at initialization time 2012-01-10 15:47:24 +01:00
corosync-xmlproc.sh Convert xml config file 2011-12-20 10:49:20 +01:00
Makefile.am Fix make dist relating to xmlconf conditional 2012-01-06 18:17:46 -07:00