qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1008) Router should preserve original connection information when attempting to make failover connections
Date Tue, 10 Jul 2018 22:34:00 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539303#comment-16539303

ASF subversion and git services commented on DISPATCH-1008:

Commit cc3ab65578701dd0df262ce346f0443cc21b9975 in qpid-dispatch's branch refs/heads/master
from [~chug]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=cc3ab65 ]

DISPATCH-1008: Failover test waits for inter-router status

After Router A fails over from B to C, wait for the inter-router
connection to RouterC to show up in RouterC's management stack
before declaring an error.

> Router should preserve original connection information when attempting to make failover
> ---------------------------------------------------------------------------------------------------
>                 Key: DISPATCH-1008
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1008
>             Project: Qpid Dispatch
>          Issue Type: Bug
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.2.0
>         Attachments: broker-slave.xml, broker.xml, qdrouterd-failover.conf
> # Start artemis master and slave brokers and the router with the attached config files.
>  # Notice that the router receives an open frame from the master broker with the following
failover information
>  # 
> {noformat}
> 2018-05-22 22:11:11.830106 -0230 SERVER (trace) [1]:0 <- @open(16) [container-id="localhost",
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=61617, :"network-host"=""}]"}]{noformat}
>  # Now, kill the master broker and notice that the router correctly fails over to the
slave broker. But the slave broker does not provide any failover information in its open frame
and hence the router erases its original master broker connection information
>  # When the master broker is now restarted and the slave broker is killed, the router
attempts to repeatedly connect only to the slave broker but never attempts a connection to
the master broker.
>  # If the router did not erase its failover list but preserved the original master connection
information, it would have connected the master broker.

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