You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (Jira)" <ji...@apache.org> on 2021/09/24 06:09:00 UTC
[jira] [Created] (ARTEMIS-3496) Replica shouldn't reconnect to its
live
Francesco Nigro created ARTEMIS-3496:
----------------------------------------
Summary: Replica shouldn't reconnect to its live
Key: ARTEMIS-3496
URL: https://issues.apache.org/jira/browse/ARTEMIS-3496
Project: ActiveMQ Artemis
Issue Type: Bug
Reporter: Francesco Nigro
Assignee: Francesco Nigro
Both SharedNothingBackupActivation and ReplicationBackupActivation set session factory's cluster control reconnect attempts to 1, but the comment on the code for the former says:
{code:java}
//we should only try once, if its not there we should move on.
{code}
That doesn't look right, indeed, in case of failed cluster connection due to TTL, the additional attempt to reconnect slow down the whole failover process.
As per the comment, to try connect just once, econnect attempts should be set to 0.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)