mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-01-20 18:01:22 +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> |
||
|---|---|---|
| .. | ||
| cmap-dispatch-deadlock.sh | ||
| common_test_agent.c | ||
| common_test_agent.h | ||
| cpg_test_agent.c | ||
| Makefile.am | ||
| mem_leak_test.sh | ||
| net_breaker.sh | ||
| sam_test_agent.c | ||
| shm_leak_audit.sh | ||
| syncv2.c | ||
| votequorum_test_agent.c | ||