Lines Matching defs:quorum
7 /* This quorum hack is only here until we transition to some more rational
26 * So nodes that are in this transtion put a hold on the quorum decision
38 #include "quorum.h"
92 int quorum;
113 quorum = (qs->qs_heartbeating + 1)/2;
114 if (qs->qs_connected < quorum) {
117 "to make a quorum out of %u heartbeating nodes\n",
118 qs->qs_connected, quorum,
127 quorum = qs->qs_heartbeating / 2;
128 if (qs->qs_connected < quorum) {
131 "to make a quorum out of %u heartbeating nodes\n",
132 qs->qs_connected, quorum,
136 else if ((qs->qs_connected == quorum) &&
139 "connected to a half-quorum of %u out of %u "
141 "node %u\n", quorum, qs->qs_heartbeating,
191 /* as a node comes up we delay the quorum decision until we know the fate of
241 * and indicates that we must now make a quorum decision in the future,
259 * quorum decision until we see it heartbeating. the hold will be droped in