[infinispan-issues] [JBoss JIRA] (ISPN-4587) Re-add old owners in the pending CH when a node leaves during rebalance

Tristan Tarrant (JIRA) issues at jboss.org
Fri Jan 9 17:59:52 EST 2015


     [ https://issues.jboss.org/browse/ISPN-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-4587:
----------------------------------
    Fix Version/s: 7.1.0.CR1
                       (was: 7.1.0.Beta1)


> Re-add old owners in the pending CH when a node leaves during rebalance
> -----------------------------------------------------------------------
>
>                 Key: ISPN-4587
>                 URL: https://issues.jboss.org/browse/ISPN-4587
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core, State Transfer
>    Affects Versions: 7.0.0.Alpha5
>            Reporter: Dan Berindei
>            Priority: Minor
>             Fix For: 7.1.0.CR1
>
>
> Say we have a distributed cache \[A, B\] with {{numSegments = 1}} and {{numOwners = 2}}. The initial topology is _T_: currentCH = \{0: A B\}, pendingCH = null
> C joins, and A starts a rebalance. The topology is now _T + 1_: currentCH = \{0: A B\}, pendingCH = \{0: A C\}
> C now leaves, A updates the consistent hashes to remove it with a new topology _T + 2: currentCH = \{0: A B\}, pendingCH = \{0: A\}
> A doesn't need to receive any data, so the rebalance ends and the pending CH is installed as the current CH in topology _T + 3_: currentCH = \{0: A\}, pendingCH = null
> This algorithm is relatively easy to follow and implement, but it does result in reduced availability of the cache data. It would be better if topology _T + 2_ could re-add B as an owner in the pending CH.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list