mirror_corosync/exec
Fabio M. Di Nitto 10098dba27 votequorum: add last_man_standing support (default: off)
this flag (0|1) can be configured via quorum.last_man_standing and when
enabled, it allows expected_votes to be dynamically recalculated.

Assuming an 8 nodes cluster, every node votes 1 (mandatory requirement for
this feature).

In the first event, 3 nodes are lost.

The remaining partition of 5 is barely quorate.

After a configurable timeout (quorum.last_man_standing_window, default 10sec)
the quorate partition is allow to recalculate expected_votes based on
the remaining nodes.

This operation will bring expected_votes to 5 and quorum to 3.

Repeating the above loop, in the next event, 2 more nodes are allowed to
die. etc. etc.

Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
2012-01-10 15:48:17 +01:00
..
.gitignore Add .gitignore files. 2010-10-21 07:43:46 -07:00
apidef.c Move coroapi out of external headers 2012-01-07 17:47:45 -07:00
apidef.h Move coroapi out of external headers 2012-01-07 17:47:45 -07:00
coroparse.c votequorum: add last_man_standing support (default: off) 2012-01-10 15:48:17 +01:00
crypto.c Fix some compiler warnings 2011-08-09 10:37:16 +10:00
crypto.h remove all trailing blanks 2009-04-22 08:03:55 +00:00
cs_queue.h Add totempg_threaded_mode_enable() api 2011-08-22 19:31:52 -07:00
evil.c Move coroapi out of external headers 2012-01-07 17:47:45 -07:00
evil.h Follow synchronization model of event service so corosync without openais 2009-06-28 04:50:18 +00:00
fsm.h Add a Finite State Machine.(fsm.h) 2010-09-27 21:11:04 +00:00
icmap.c Add icmap 2011-12-15 09:19:17 +01:00
ipc_glue.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
logsys.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
main.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
main.h Move coroapi out of external headers 2012-01-07 17:47:45 -07:00
mainconfig.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
mainconfig.h Move coroapi out of external headers 2012-01-07 17:47:45 -07:00
Makefile.am Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
quorum.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
quorum.h quorum.h (quorum_set_quorate_fn_t): make first param const 2009-04-08 06:43:03 +00:00
schedwrk.c Add schedwrk_create_nolock function 2010-01-22 09:45:29 +00:00
schedwrk.h Add schedwrk_create_nolock function 2010-01-22 09:45:29 +00:00
service.c Move coroapi out of external headers 2012-01-07 17:47:45 -07:00
service.h Move corosync core to use icmap 2011-12-15 09:19:17 +01:00
sync.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
sync.h pass transitional members into the sync_init() callbacks. 2010-02-04 00:18:51 +00:00
syncv2.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
syncv2.h pass transitional members into the sync_init() callbacks. 2010-02-04 00:18:51 +00:00
timer.c libqb: make timer api a wrapper around qb_loop timers. 2011-08-09 10:37:14 +10:00
timer.h Allow compile master on RHEL 6 2011-08-09 11:29:48 +02:00
totemconfig.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
totemconfig.h Move corosync core to use icmap 2011-12-15 09:19:17 +01:00
totemiba.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
totemiba.h libqb: convert coropoll calls to qb_loop calls. 2011-08-09 10:37:14 +10:00
totemip.c Free mem allocated by getaddrinfo 2011-11-11 08:11:17 +11:00
totemmrp.c totemmrp: Allow compilation without warnings 2011-10-24 17:43:32 +02:00
totemmrp.h Add totempg_threaded_mode_enable() api 2011-08-22 19:31:52 -07:00
totemnet.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
totemnet.h libqb: convert coropoll calls to qb_loop calls. 2011-08-09 10:37:14 +10:00
totempg.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
totemrrp.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
totemrrp.h libqb: convert coropoll calls to qb_loop calls. 2011-08-09 10:37:14 +10:00
totemsrp.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
totemsrp.h Add totempg_threaded_mode_enable() api 2011-08-22 19:31:52 -07:00
totemudp.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
totemudp.h Remove hdb.h header includes from unnecessary files 2011-08-23 22:28:40 -07:00
totemudpu.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
totemudpu.h Remove hdb.h header includes from unnecessary files 2011-08-23 22:28:40 -07:00
util.c Move logsys.c into corosync binary instead of a shared object 2012-01-06 18:19:59 -07:00
util.h libqb: change ipc -> qb_ipc 2011-08-09 10:37:14 +10:00
vsf_quorum.c quorum: change API to return quorum type at initialization time 2012-01-10 15:47:24 +01:00
vsf_ykd.c Move coroapi out of external headers 2012-01-07 17:47:45 -07:00
vsf.h Convert existing documentation to doxygen format. 2011-03-12 15:03:16 +11:00