[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1077) Multiple leaves are not handled correctly with DIST

Mircea Markus (JIRA) jira-events at lists.jboss.org
Thu Apr 28 06:22:18 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598687#comment-12598687 ] 

Mircea Markus commented on ISPN-1077:
-------------------------------------

ISPN-1000 will solve this issue as well, but only on 5.x branch. 

> Multiple leaves are not handled correctly with DIST 
> ----------------------------------------------------
>
>                 Key: ISPN-1077
>                 URL: https://issues.jboss.org/browse/ISPN-1077
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Distributed Cache
>    Affects Versions: 4.2.1.FINAL
>            Reporter: Mircea Markus
>            Assignee: Mircea Markus
>             Fix For: 4.2.2.FINAL, 5.0.0.FINAL
>
>         Attachments: MultipleNodesLeavingTest.java
>
>
> When multiple caches are leaving at the same time(i.e. the diff between jgroups views is more than one address), Infinispan ends up with an inconsistent hash function: it is aware about nodes that are no longer present in the cluster. 
> The root cause of the problem is in DistributionManagerImpl.rehash(...):
> - the list of leavers is determined as follows:    
> Address leaver = MembershipArithmetic.getMemberLeft(oldMembers, newMembers);
> - this method always assumes a single leaver, but there can be many.
> Unit test attached.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list