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