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 2014/10/03 12:25:34 UTC

[jira] [Created] (QPID-6131) Prevent messaging connection to virtualhost that is in the process of being closed

Keith Wall created QPID-6131:
--------------------------------

             Summary: Prevent messaging connection to virtualhost  that is in the process of being closed
                 Key: QPID-6131
                 URL: https://issues.apache.org/jira/browse/QPID-6131
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.30
            Reporter: Keith Wall
            Assignee: Keith Wall
             Fix For: 0.31


As highlighted by the sporadic failure of MultiNodeTest.testLossOfQuorumCausesClientDisconnection on Apache CI, there is currently an defect where the Java Broker continues to permit a connection to the VirtualHost whilst it is being transitioned to being closed.

This is highlighted by the HA test.  Here a group that had quorum, is deliberately deprived of it by killing the other nodes.  The test expects an existing connection fails its next operation, and that new connections to the node are disallowed.  The latter part shows the race condition.  Sometimes new connections are denied, sometimes they are erroneously allowed.

https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Java-Java-BDB-TestMatrix/jdk=JDK%201.7%20(latest),label=Ubuntu,profile=java-bdb.0-10/1487/testReport/junit/org.apache.qpid.server.store.berkeleydb.replication/MultiNodeTest/testLossOfQuorumCausesClientDisconnection/



--
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