Lines Matching defs:quorum
9 /* This quorum hack is only here until we transition to some more rational
28 * So nodes that are in this transtion put a hold on the quorum decision
40 #include "quorum.h"
94 int quorum;
115 quorum = (qs->qs_heartbeating + 1)/2;
116 if (qs->qs_connected < quorum) {
119 "to make a quorum out of %u heartbeating nodes\n",
120 qs->qs_connected, quorum,
129 quorum = qs->qs_heartbeating / 2;
130 if (qs->qs_connected < quorum) {
133 "to make a quorum out of %u heartbeating nodes\n",
134 qs->qs_connected, quorum,
138 else if ((qs->qs_connected == quorum) &&
141 "connected to a half-quorum of %u out of %u "
143 "node %u\n", quorum, qs->qs_heartbeating,
193 /* as a node comes up we delay the quorum decision until we know the fate of
243 * and indicates that we must now make a quorum decision in the future,
261 * quorum decision until we see it heartbeating. the hold will be droped in