qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DISPATCH-905) Dispatch Router not failing over to slave broker when master broker goes away
Date Mon, 18 Dec 2017 19:18:00 GMT
Ganesh Murthy created DISPATCH-905:

             Summary: 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

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

PN_TRACE_FRM=1 qdrouterd -c failover.conf 
3. The master broker will send an open frame to the router than has a failover list. The open
frame looks like the following - 
[0x7f7b6000c1e0]:0 <- @open(16) [container-id="", 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="",
:scheme="amqp", :port=62616, :"network-host"=""}], :version="2.4.0"}]

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

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message