[
https://issues.apache.org/jira/browse/ARTEMIS-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529788#comment-16529788
]
ASF GitHub Bot commented on ARTEMIS-1866:
-----------------------------------------
GitHub user andytaylor opened a pull request:
https://github.com/apache/activemq-artemis/pull/2170
ARTEMIS-1866 - Make wait time for reply configurable once vote goes o…
…ut to acquire a quorum
Im refactoring a lot of this original fix as it has broken API compatibilty
by removing a default constructor.
Also it should be set via a setter.
https://issues.apache.org/jira/projects/ARTEMIS/issues/ARTEMIS-1866
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andytaylor/activemq-artemis master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2170.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2170
----
commit f288cfc9cae4feecfcba2bce335fcddbf36e0092
Author: andytaylor <andy.tayls67@...>
Date: 2018-07-02T10:42:31Z
ARTEMIS-1866 - Make wait time for reply configurable once vote goes out to
acquire a quorum
Im refactoring a lot of this original fix as it has broken API compatibilty
by removing a default constructor.
Also it should be set via a setter.
https://issues.apache.org/jira/projects/ARTEMIS/issues/ARTEMIS-1866
----
> Make wait time for reply configurable once vote goes out to acquire a quorum.
> -----------------------------------------------------------------------------
>
> Key: ARTEMIS-1866
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1866
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 2.5.0
> Reporter: Saurabh Rai
> Priority: Major
> Fix For: 2.7.0
>
>
> Quorum voting is used by both the live and the backup to decide what to do if
> a replication connection is disconnected. Basically, the server will request
> each live server in the cluster to vote as to whether it thinks the server it
> is replicating to or from is still alive. You can also configure the time for
> which the quorum manager will wait for the quorum vote response. Currently,
> the value is hardcoded as 30 sec. We should change this 30-second wait to be
> configurable.
> Please find the logs for reference:
> 2018-05-06 11:20:42,906 INFO [org.apache.activemq.artemis.core.server]
> AMQ221066: Initiating quorum vote: LiveFailoverQuorumVote 2018-05-06
> 11:20:42,906 INFO [org.apache.activemq.artemis.core.server] AMQ221067:
> Waiting 30 seconds for quorum vote results. 2018-05-06 11:20:42,914 INFO
> [org.apache.activemq.artemis.core.server] AMQ221060: Sending quorum vote
> request to amq2a/10.92.151.33:61716: ServerConnectVote
> [nodeId=d41a0e0f-50da-11e8-9b2d-005056b01f85, vote=false]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)