You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/10/03 12:30:34 UTC

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

    [ https://issues.apache.org/jira/browse/QPID-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14157859#comment-14157859 ] 

ASF subversion and git services commented on QPID-6131:
-------------------------------------------------------

Commit 1629177 from [~k-wall] in branch 'qpid/trunk'
[ https://svn.apache.org/r1629177 ]

QPID-6131: [Java Broker] Mark virtualhosts that are being closed as UNAVAILABLE to prevent any new messaging connections being established

> 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