You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Juanjo Marin (Jira)" <ji...@apache.org> on 2024/09/20 09:30:00 UTC

[jira] [Reopened] (ARTEMIS-5042) The load balancing is not working correctly when several brokers are down

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

Juanjo Marin reopened ARTEMIS-5042:
-----------------------------------

We have applied the recommended configuration and the issue persists. The messages are being routed to the internal queues of the cluster. We have allowed the connection retries to occur before sending the messages. Attached are the evidences.

> The load balancing is not working correctly when several brokers are down
> -------------------------------------------------------------------------
>
>                 Key: ARTEMIS-5042
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5042
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Balancer
>    Affects Versions: 2.35.0
>         Environment: Cluster Configuration broker.xml:
>  
> <cluster-connections>
>          <cluster-connection name="mccon">
>         <connection-ttl>60000</connection-ttl>
>             <call-timeout>5000</call-timeout>
>             <retry-interval>500</retry-interval>
>             <retry-interval-multiplier>1.0</retry-interval-multiplier>
>             <max-retry-interval>5000</max-retry-interval>
>             <initial-connect-attempts>-1</initial-connect-attempts>
>             <reconnect-attempts>-1</reconnect-attempts>
>     <forward-when-no-consumers>false</forward-when-no-consumers>    
>             <connector-ref>artemis</connector-ref>
>             <message-load-balancing>ON_DEMAND</message-load-balancing>
>             <max-hops>1</max-hops>
>             <static-connectors>
>                <connector-ref>node0</connector-ref>
>                <connector-ref>node1</connector-ref>
>                <connector-ref>node2</connector-ref>
>  
>             </static-connectors>
>          </cluster-connection>
>       </cluster-connections>
>            Reporter: Juanjo Marin
>            Assignee: Justin Bertram
>            Priority: Major
>         Attachments: 1NodoUp.PNG, 1nodeUp.PNG, 3NodesUp.PNG, 3Nodosup.PNG, ArtemisInternalWithMessage.PNG, EmptysQueue.PNG, QueueInternWithMessageNoConsumer.PNG, artemis.log, broker.xml
>
>
> The load balancing is not working correctly when several brokers are down. With the configuration we have in the cluster, we understand that this should not be happening. The load balancing should be smart and not send messages to the nodes that are down."



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact