[
https://issues.apache.org/jira/browse/ARTEMIS-3064?focusedWorklogId=541093&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-541093
]
ASF GitHub Bot logged work on ARTEMIS-3064:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jan/21 14:14
Start Date: 25/Jan/21 14:14
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on a change in pull request
#3418:
URL: https://github.com/apache/activemq-artemis/pull/3418#discussion_r563753347
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/federation/FederationConnection.java
##########
@@ -69,6 +69,10 @@ public FederationConnection(Configuration configuration,
String name, Federation
}
}
+ if (!config.isHA()) {
+ serverLocator.setUseTopologyForLoadBalancing(false);
Review comment:
@gtully can you run the whole test suite and post results?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 541093)
Time Spent: 0.5h (was: 20m)
> Enable/Disable useTopologyForLoadBalancing for federation connections between
> clusters
> --------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3064
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3064
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Federation
> Affects Versions: 2.16.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Priority: Major
> Fix For: 2.17.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The core client respects the topology for loadbalancing by default. A
> federation connection configures and reuses a server locator via it's circuit
> breaker.
> With ha = false, it looks like we should disable useTopologyForLoadBalancing
> such that the circuit reconnect gets back to the original broker even when
> clustered.
> With ha=true, the reconnect can be to any broker in the cluster in the normal
> way.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)