[
https://issues.apache.org/jira/browse/QPID-5431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854033#comment-13854033
]
ASF subversion and git services commented on QPID-5431:
-------------------------------------------------------
Commit 1552698 from [~aconway] in branch 'qpid/trunk'
[ https://svn.apache.org/r1552698 ]
QPID-5431: Qpid c++ client hangs / crashes during reception failover in HA
environment (mutual recursion)
Bug in AMQP 1.0 retry code caused an infinite recursion when failing over.
The recursion was in messaging::amqp::ConnectionContext, where the following
recursive cycle could occur:
check()->autoconnect()->tryConnect(Url)->tryConnect(Address)->wait()->check()->...
Re-organized the code to avoid the recursion, specifically avoid calling check()
in tryConnect(Address). A disconnect detected in tryConnect results in
continuing
the retry rather than calling autoconnect again.
> Qpid c++ client hangs / crashes during reception failover in HA environment
> (mutual recursion)
> -----------------------------------------------------------------------------------------------
>
> Key: QPID-5431
> URL: https://issues.apache.org/jira/browse/QPID-5431
> Project: Qpid
> Issue Type: Bug
> Components: C++ Clustering
> Affects Versions: 0.24
> Reporter: Alan Conway
> Assignee: Alan Conway
> Fix For: 0.25
>
>
> See https://bugzilla.redhat.com/show_bug.cgi?id=1039630
> C++ client using AMQP 1.0 sometimes gets into an infinite recursion during
> failover.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]