You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2021/10/11 19:12:00 UTC

[jira] [Closed] (ARTEMIS-2231) quorum-size not properly calculated?

     [ https://issues.apache.org/jira/browse/ARTEMIS-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clebert Suconic closed ARTEMIS-2231.
------------------------------------
    Resolution: Abandoned

there are new functionalities for quorum a failover. 

closing it.. please review the new functionalities before reopening if this is still an issue.

> 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
>            Priority: Major
>
> 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 masters, the quorum will be set by default to 3 instead of 2 as (I think) is needed?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)