Lines Matching defs:quorum
23 /* This quorum hack is only here until we transition to some more rational
42 * So nodes that are in this transtion put a hold on the quorum decision
54 #include "quorum.h"
107 int quorum;
128 quorum = (qs->qs_heartbeating + 1)/2;
129 if (qs->qs_connected < quorum) {
132 "to make a quorum out of %u heartbeating nodes\n",
133 qs->qs_connected, quorum,
142 quorum = qs->qs_heartbeating / 2;
143 if (qs->qs_connected < quorum) {
146 "to make a quorum out of %u heartbeating nodes\n",
147 qs->qs_connected, quorum,
151 else if ((qs->qs_connected == quorum) &&
154 "connected to a half-quorum of %u out of %u "
156 "node %u\n", quorum, qs->qs_heartbeating,
197 /* as a node comes up we delay the quorum decision until we know the fate of
247 * and indicates that we must now make a quorum decision in the future,
265 * quorum decision until we see it heartbeating. the hold will be droped in