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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to