mirror_corosync/lib
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
..
cfg.c IPC: don't block forever on a recv msg as corosync might be gone. 2012-01-10 08:32:31 +11:00
cmap.c IPC: don't block forever on a recv msg as corosync might be gone. 2012-01-10 08:32:31 +11:00
cpg.c IPC: don't block forever on a recv msg as corosync might be gone. 2012-01-10 08:32:31 +11:00
evs.c IPC: don't block forever on a recv msg as corosync might be gone. 2012-01-10 08:32:31 +11:00
libcfg.versions libqb: change ipc -> qb_ipc 2011-08-09 10:37:14 +10:00
libcfg.verso cfg_get_node_addrs: Return correct addresses 2011-03-24 17:42:08 +01:00
libcmap.versions Add user library to use cmap service 2011-12-15 09:19:17 +01:00
libcmap.verso Add user library to use cmap service 2011-12-15 09:19:17 +01:00
libcpg.versions libqb: change ipc -> qb_ipc 2011-08-09 10:37:14 +10:00
libcpg.verso CPG model_initialize and ringid + members callback 2010-04-20 12:40:48 +00:00
libevs.versions libqb: change ipc -> qb_ipc 2011-08-09 10:37:14 +10:00
libevs.verso Support for specific libraries version 2010-04-01 12:35:31 +00:00
libpload.versions libqb: change ipc -> qb_ipc 2011-08-09 10:37:14 +10:00
libpload.verso Support for specific libraries version 2010-04-01 12:35:31 +00:00
libquorum.versions libqb: change ipc -> qb_ipc 2011-08-09 10:37:14 +10:00
libquorum.verso Support for specific libraries version 2010-04-01 12:35:31 +00:00
libsam.versions SAM implementation merge 2009-12-07 17:06:53 +00:00
libsam.verso SAM Confdb integration 2010-09-27 07:34:21 +00:00
libvotequorum.versions libqb: change ipc -> qb_ipc 2011-08-09 10:37:14 +10:00
libvotequorum.verso Support for specific libraries version 2010-04-01 12:35:31 +00:00
Makefile.am Remove objdb and confdb 2011-12-15 09:19:18 +01:00
pload.c IPC: don't block forever on a recv msg as corosync might be gone. 2012-01-10 08:32:31 +11:00
quorum.c quorum: change API to return quorum type at initialization time 2012-01-10 15:47:24 +01:00
sam.c quorum: change API to return quorum type at initialization time 2012-01-10 15:47:24 +01:00
util.h hdb* functions already returns -error value 2011-12-01 08:52:32 +01:00
votequorum.c IPC: don't block forever on a recv msg as corosync might be gone. 2012-01-10 08:32:31 +11:00