You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Laurent Bigonville (JIRA)" <ji...@apache.org> on 2019/01/18 11:20:00 UTC
[jira] [Created] (ARTEMIS-2231) quorum-size not properly
calculated?
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)