You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2017/12/18 19:21:00 UTC
[jira] [Updated] (DISPATCH-905) Dispatch Router not failing over to
slave broker when master broker goes away
[ https://issues.apache.org/jira/browse/DISPATCH-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ganesh Murthy updated DISPATCH-905:
-----------------------------------
Attachment: broker-master.xml
broker-slave.xml
failover.conf
> Dispatch Router not failing over to slave broker when master broker goes away
> -----------------------------------------------------------------------------
>
> Key: DISPATCH-905
> URL: https://issues.apache.org/jira/browse/DISPATCH-905
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Container
> Affects Versions: 1.0.0
> Reporter: Ganesh Murthy
> Assignee: Ganesh Murthy
> Fix For: 1.1.0
>
> Attachments: broker-master.xml, broker-slave.xml, failover.conf
>
>
> Attached are 3 files
> 1. broker-master.xml (Apache Artemis master broker configuration)
> 2. broker-slave.xml (Apache Artemis slave broker configuration)
> 3. failover.conf (Qpid Dispatch configuration file which connects to the master broker)
> Steps to reproduce the issue -
> 1. Start 2 artemis brokers with the provided master and slave broker xml files
> 2. Start the Qpid Dispatch router with the provided config file with frame trace on like this
> {noformat}
> PN_TRACE_FRM=1 qdrouterd -c failover.conf
> {noformat}
> 3. The master broker will send an open frame to the router than has a failover list. The open frame looks like the following -
> {noformat}
> [0x7f7b6000c1e0]:0 <- @open(16) [container-id="0.0.0.0", max-frame-size=4294967295, channel-max=65535, idle-time-out=30000, offered-capabilities=@PN_SYMBOL[:"sole-connection-for-container", :"DELAYED_DELIVERY", :"SHARED-SUBS", :"ANONYMOUS-RELAY"], properties={:product="apache-activemq-artemis", :"failover-server-list"=[{:hostname="127.0.0.1", :scheme="amqp", :port=62616, :"network-host"="127.0.0.1"}], :version="2.4.0"}]
> {noformat}
> Notice that the failover list is providing the url for the backup slave broker.
> 4. Now terminate the master broker.
> 5. Dispatch router must sense that the connection to the master broker has gone down and must try to connect to the slave broker but it does not.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org