You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2012/05/23 17:42:41 UTC

[jira] [Updated] (QPID-4009) Make failover method invocation timeout configurable for 0-8/0-9/0-9-1 amqp clients

     [ https://issues.apache.org/jira/browse/QPID-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy updated QPID-4009:
-----------------------------

    Attachment: 0001-QPID-4009-Make-failover-method-invocation-timeout-co.patch

Attached a patch making timeout configurable 
                
> Make failover method invocation timeout configurable for 0-8/0-9/0-9-1 amqp clients
> -----------------------------------------------------------------------------------
>
>                 Key: QPID-4009
>                 URL: https://issues.apache.org/jira/browse/QPID-4009
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: 0.17
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>             Fix For: 0.17
>
>         Attachments: 0001-QPID-4009-Make-failover-method-invocation-timeout-co.patch
>
>
> When connection is lost and failover is configured, on 0-8/0-9/0-9-1 code paths the failover thread is started to restore the connection. The failover thread tries to acquire a failover mutex to re-establish the connection. In some occasions the failover mutex can be hold in JMS methods for a time longer than failover timeout (for example, sending of message with producer flow control on when flow is blocked). As result of it, the failover process is aborted and connection is closed.
> Making the failover  method invocation timeout configurable would allows us to work around the issue described above by increasing the failover timeout.
> The proper fix of this issue would be making of failover occurrence absolutely transparent for the client code.

--
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org