You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/05/05 11:19:12 UTC

[jira] [Created] (QPID-7253) [Java Client 0-10] Application allowed to created new JMS session whilst failover is in progress

Keith Wall created QPID-7253:
--------------------------------

             Summary: [Java Client 0-10] Application allowed to created new JMS session whilst failover is in progress
                 Key: QPID-7253
                 URL: https://issues.apache.org/jira/browse/QPID-7253
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: qpid-java-6.0.2, qpid-java-6.0, 0.32, 0.30
            Reporter: Keith Wall


Unlike the 0-8 path, creating a JMS session {{Connection#createSession()}} does not take the failover mutex.  This means that an application's call to createSession does not block whilst failover is in flight.  This gives rise to a race between application's creation of the new session and the re-subscription of the existing sessions.  In an unlucky case, the client may cause try and attach the same session twice.  This will be rejected by the Broker with a SESSION_BUSY.









--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org