[
https://issues.apache.org/jira/browse/QPID-3912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281010#comment-13281010
]
Keith Wall commented on QPID-3912:
----------------------------------
There is a second dimension to this defect which affects 0-8..0-9-1 only.
It becomes apparent if the failover parameters include a short connectdelay=x
parameter. If x is short (<200ms) on my box, and a connection fails, there is
a race condition between which means that the state transition from the
previous connection (CLOSING_CONNECTION => CLOSED_CONNECTION) can occur whilst
the main thread is trying to reconnect
(AMQConnectionDelegate_8_0.makeBrokerConnection).
> Client failover fails to reconnect if a previous attempted reconnection has
> failed 'late' in the connection start process.
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3912
> URL: https://issues.apache.org/jira/browse/QPID-3912
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.17
> Reporter: Keith Wall
> Assignee: Keith Wall
> Priority: Minor
> Fix For: 0.17
>
>
> A client uses failover to allow their client to reconnect to a second broker
> in the event of failure of the primary.
> There is a defect in the Qpid Java client's failover code that means if an
> attempted reconnection fails 'late' in the connection start process, then the
> AMQConnection _closed flag get set permanently to true and this prevents all
> future use of the AMQConnection object, even after a successful reconnection.
> By 'late' I mean a failure after the TCP/IP connection has been successfully
> established - such as an authentication or authorisation problem that causes
> the Broker to decide to close the connection.
> The problem affects both 0-10 and 0-8..0-9-1 code paths.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]