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/01/06 18:54:40 UTC

[jira] [Commented] (QPID-6972) BDB HA: Node may remain detached from group following loss of quorum

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

Keith Wall commented on QPID-6972:
----------------------------------

Problem has been in the code base since at least QPID-5410 (0.30).

> BDB HA: Node may remain detached from group following loss of quorum
> --------------------------------------------------------------------
>
>                 Key: QPID-6972
>                 URL: https://issues.apache.org/jira/browse/QPID-6972
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.30, 0.32, qpid-java-6.0
>            Reporter: Keith Wall
>
> If a master detects that it has lost quorum (which may occur owing to a user generated transaction, or an internally generated 'ping' transaction, failing to see the required number of replica acknowledgements), the underlying JE environment {{ReplicatedEnvironment}} is automatically restarted (the old one closed and a new one created to replace it).   This approach ensures that clients reconnect to a new master in a timely way.
> There is a coding error in the CoalescingCommitter that means that the JE environment restart may not complete properly.  If quorum disappears whilst there are jobs on the CoalescingCommitter's job queue, the  CoalescingCommitter's error handling will cause the BDB EnvironmentFacade to be closed.   This is okay for the BDB non-HA case as such an exception is always fatal, but for HA, calling {{ReplicatedEnvironmentFacade#close()}} prevents the environment from being recreated.
> This effect of this defect is that a node may disappear from the group every time quorum is temporarily lost.  This will keep occuring until quorum no longer remains, at which point the business will stop.  Bouncing the affected brokers (or restarting the VHNs) will restore the service, without message loss.
>   



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