Laurent Bigonville created ARTEMIS-2231:
-------------------------------------------
Summary: quorum-size not properly calculated?
Key: ARTEMIS-2231
URL: https://issues.apache.org/jira/browse/ARTEMIS-2231
Project: ActiveMQ Artemis
Issue Type: Bug
Reporter: Laurent Bigonville
Hello,
Looking at the code where quorum-size is calculated I'm wondering if there is
not an issue there.
In the isLiveDown() method for the share nothing setup, I see:
int size = quorumSize == -1 ? quorumManager.getMaxClusterSize() :
quorumSize;
maxClusterSize is calculated like the following in nodeUP():
maxClusterSize = newClusterSize > maxClusterSize ? newClusterSize :
maxClusterSize;
Wouldn't that mean that for a setup with 3 master, the quorum will be set by
default to 3 instead of 2 as (I think) is needed?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)