mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-01-20 03:02:43 +00:00
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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| corosync-blackbox | ||
| corosync-cfgtool.c | ||
| corosync-cmapctl.c | ||
| corosync-cpgtool.c | ||
| corosync-fplay.c | ||
| corosync-keygen.c | ||
| corosync-notifyd.c | ||
| corosync-notifyd.sysconfig.example | ||
| corosync-pload.c | ||
| corosync-quorumtool.c | ||
| corosync-xmlproc.sh | ||
| Makefile.am | ||