Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4009

Make failover method invocation timeout configurable for 0-8/0-9/0-9-1 amqp clients

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.17
    • 0.17
    • JMS AMQP 0-x
    • None

    Description

      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.

      Attachments

        Activity

          People

            philharveyonline Phil Harvey
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: