ARTEMIS-1763 - Remove 'quick check' before quorum
https://issues.apache.org/jira/browse/ARTEMIS-1763
This commit is contained in:
parent
7628236453
commit
3a548a9df5
|
@ -288,11 +288,6 @@ public class SharedNothingBackupQuorum implements Quorum, SessionFailureListener
|
||||||
|
|
||||||
synchronized (voteGuard) {
|
synchronized (voteGuard) {
|
||||||
while (!decision && voteAttempts++ < voteRetries) {
|
while (!decision && voteAttempts++ < voteRetries) {
|
||||||
// a quick check to see if the live actually is dead
|
|
||||||
if (quorumManager.checkLive(liveTransportConfiguration)) {
|
|
||||||
//the live is still alive so we best not failover
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
//the live is dead so lets vote for quorum
|
//the live is dead so lets vote for quorum
|
||||||
QuorumVoteServerConnect quorumVote = new QuorumVoteServerConnect(size, targetServerID);
|
QuorumVoteServerConnect quorumVote = new QuorumVoteServerConnect(size, targetServerID);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue