qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6154) Handle rollback of node when use of weak durability has allowed nodes to diverge
Date Wed, 22 Oct 2014 12:41:34 GMT

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

ASF subversion and git services commented on QPID-6154:

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

QPID-6154: [Java Broker] Fix race condition that would cause an ReplicatedEnvironment to be
leaked on restart

> Handle rollback of node when use of weak durability has allowed nodes to diverge
> --------------------------------------------------------------------------------
>                 Key: QPID-6154
>                 URL: https://issues.apache.org/jira/browse/QPID-6154
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>              Labels: bdbstore, ha
>         Attachments: 0001-QPID-6154-Java-Broker-Handle-rollback-of-node-when-u.patch
> JE throws an asynchronous exception (RolllbackException) to indicate that, owing to the
use of weak durability options a node that is trying to rejoin the group has transactions
that do not match those of the current master, and it must rollback one or more transactions
in order to join.
> This condition can't occur in use of the group with default quorum options, but if a
user were to use node priority zero, electable group override or designate primary (options
that all weaken durability), creates the situation were nodes can diverge (split brain).
> In the case where JE detects this, it delivers a RollbackException asynchronously shortly
after environment creation and requires that the environment restarts so the diverged transactions
can be dropped.
> Java Broker should catch this exception, log it and organise for the environment to restart.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message