mirror_corosync/services
Angus Salkeld 956a1dcb42 cpg: fix sync master selection when one node paused.
If one node is paused it can miss a config change and
thus report a larger old_members than expected.

The solution is to use the left_nodes field.

Master selection used to be "choose node with":
1) largest previous membership
2) (then as a tie-breaker) node with smallest nodeid

New selection:
1) largest (previous #nodes - #nodes know to have left)
2) (then as a tie-breaker) node with smallest nodeid

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2011-05-05 21:39:30 +10:00
..
cfg.c Add ipc_refcnt to message_handler_req_{exec, lib}_cfg_ringreenable() 2011-04-14 20:14:12 -07:00
confdb.c Fix shutdown when a confdb client is still connected 2011-03-29 13:48:20 +11:00
cpg.c cpg: fix sync master selection when one node paused. 2011-05-05 21:39:30 +10:00
evs.c Fix some "set but not used" warnings [-Wunused-but-set-variable] 2011-03-16 07:13:42 +11:00
Makefile.am Add monitoring and watchdog services. 2010-09-27 21:12:03 +00:00
mon.c WD/SAM integration. 2010-09-27 21:13:15 +00:00
pload.c fix timersub warning on freebsd 2011-01-12 09:42:24 +11:00
testquorum.c Work around dlopen'ed objects not executing constructors on solaris platform. 2009-06-21 05:02:09 +00:00
votequorum.c Fix some "set but not used" warnings [-Wunused-but-set-variable] 2011-03-16 07:13:42 +11:00
wd.c WD/SAM integration. 2010-09-27 21:13:15 +00:00