Reviewed-by: Steven Dake <sdake@xxxxxxxxxx> On 01/24/2012 10:58 PM, Fabio M. Di Nitto wrote: > From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx> > > This avoids fencing races at startup of a cluster. > > It is still possible to override WFA by explicitly setting > wait_for_all: 0 > > Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx> > --- > exec/votequorum.c | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/exec/votequorum.c b/exec/votequorum.c > index 51fe8b1..c809626 100644 > --- a/exec/votequorum.c > +++ b/exec/votequorum.c > @@ -748,6 +748,12 @@ static int votequorum_readconfig_static(void) > > log_printf(LOGSYS_LEVEL_DEBUG, "Reading static configuration"); > > + icmap_get_uint8("quorum.two_node", &two_node); > + > + if (two_node) { > + wait_for_all = 1; > + } > + > icmap_get_uint8("quorum.wait_for_all", &wait_for_all); > icmap_get_uint8("quorum.auto_tie_breaker", &auto_tie_breaker); > icmap_get_uint8("quorum.last_man_standing", &last_man_standing); _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss