mirror_corosync/cts/agents
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
..
cmap-dispatch-deadlock.sh Remove objdb and confdb 2011-12-15 09:19:18 +01:00
common_test_agent.c Remove use of NULL in test agent 2011-11-26 08:50:25 -07:00
common_test_agent.h CTS: make test agent shutdown more gracefully 2011-08-09 10:37:16 +10:00
cpg_test_agent.c CTS: make test agent shutdown more gracefully 2011-08-09 10:37:16 +10:00
Makefile.am Remove objdb and confdb 2011-12-15 09:19:18 +01:00
mem_leak_test.sh CTS: get some more code to execute. 2010-03-24 22:22:40 +00:00
net_breaker.sh CTS: reproduce David's bug 2010-05-03 10:59:00 +00:00
sam_test_agent.c Move SAM to use CMAP service 2011-12-15 09:19:18 +01:00
shm_leak_audit.sh CTS: add an audit to check for leaking shared memory 2011-08-09 10:37:16 +10:00
syncv2.c Fix last corosync/engine/coroapi.h 2012-01-09 13:06:22 +11:00
votequorum_test_agent.c quorum: change API to return quorum type at initialization time 2012-01-10 15:47:24 +01:00