mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-01-20 04:51:21 +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> |
||
|---|---|---|
| .. | ||
| scripts | ||
| .gitignore | ||
| cpgbench.c | ||
| cpgbenchzc.c | ||
| cpgbound.c | ||
| cpgverify.c | ||
| evsbench.c | ||
| evsverify.c | ||
| Makefile.am | ||
| sa_error.c | ||
| sa_error.h | ||
| stress_cpgcontext.c | ||
| stress_cpgfdget.c | ||
| stress_cpgzc.c | ||
| testcpg2.c | ||
| testcpg.c | ||
| testcpgzc.c | ||
| testevs.c | ||
| testevsth.c | ||
| testmake.sh | ||
| testparse.c | ||
| testquorum.c | ||
| testsam.c | ||
| testtimer.c | ||
| testvotequorum1.c | ||
| testvotequorum2.c | ||
| testzcgc.c | ||