You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2014/10/23 17:37:33 UTC

[jira] [Resolved] (QPID-6154) Handle rollback of node when use of weak durability has allowed nodes to diverge

     [ https://issues.apache.org/jira/browse/QPID-6154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Rudyy resolved QPID-6154.
------------------------------
    Resolution: Fixed
      Assignee: Alex Rudyy

The implemented changes look good to me

> 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
>            Assignee: Alex Rudyy
>              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
(v6.3.4#6332)

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