[
https://issues.apache.org/jira/browse/QPID-8447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123772#comment-17123772
]
Alex Rudyy commented on QPID-8447:
----------------------------------
Added a quick (QPID-8447-notify-state-waiter-about-socket-closure.diff) fixing
the problem
> [JMS AMQP 0-x][AMQP 0-x] When TCP socket is closed by the peer on failover,
> an attempt to re-establishing connectivity can be blocked for maximum state
> wait interval (30 seconds by default)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-8447
> URL: https://issues.apache.org/jira/browse/QPID-8447
> Project: Qpid
> Issue Type: Bug
> Components: JMS AMQP 0-x
> Affects Versions: qpid-java-client-0-x-6.3.0, qpid-java-client-0-x-6.3.1,
> qpid-java-client-0-x-6.3.2, qpid-java-client-0-x-6.3.3,
> qpid-java-client-0-x-6.3.4, qpid-java-client-0-x-6.4.0
> Reporter: Alex Rudyy
> Priority: Major
> Attachments: QPID-8447-notify-state-waiter-about-socket-closure.diff
>
>
> The
> [StateWaiter|https://github.com/apache/qpid-jms-amqp-0-x/blob/68c8e86c3f00f3c0b72287e8b7c2ec607faedbc7/client/src/main/java/org/apache/qpid/client/AMQConnectionDelegate_8_0.java#L155]
> might not be notified on a failure to establish connectivity with a peer. As
> result, a call to
> [#await()|https://github.com/apache/qpid-jms-amqp-0-x/blob/68c8e86c3f00f3c0b72287e8b7c2ec607faedbc7/client/src/main/java/org/apache/qpid/client/AMQConnectionDelegate_8_0.java#L161]
> will block until maximum state wait timeout (set with system property
> amqj.MaximumStateWait, by default 30 seconds) expires. That would cause
> unexpectedly long pauses between reconnect attempts.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]