qdb_event(state.getMyself().toString()<<": TIMEOUT after "<<randomTimeout.count()<<"ms, I am not receiving heartbeats. Attempting to start election.");
qdb_event(state.getMyself().toString()<<": TIMEOUT after "<<randomTimeout.count()<<"ms, I am not receiving heartbeats. Attempting to start election.");
runForLeader();
return;
}
qdb_warn("I am not receiving heartbeats - not running for leader since in membership epoch "<<journal.getEpoch()<<" I am not a full node. Will keep on waiting.");
qdb_critical("Non-voting "<<req.candidate.toString()<<" attempted to disrupt the cluster by starting an election for term "<<req.term<<". Ignoring its request.");
return{snapshot.term,false};
}
qdb_warn("Non-voting "<<req.candidate.toString()<<" is requesting a vote, even though it is not a voting member of the cluster as far I know. Will still process its request, since I have no leader.");