[jboss-jira] [JBoss JIRA] Commented: (JGRP-751) ReplicatedHashMap state becomes inconsistent after merge

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Mon May 12 10:03:22 EDT 2008


    [ http://jira.jboss.com/jira/browse/JGRP-751?page=comments#action_12412465 ] 
            
Vladimir Blagojevic commented on JGRP-751:
------------------------------------------

Committed new test file and patched ReplicatedHashMap on 2.6 branch.

> ReplicatedHashMap state becomes inconsistent after merge
> --------------------------------------------------------
>
>                 Key: JGRP-751
>                 URL: http://jira.jboss.com/jira/browse/JGRP-751
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.6.3
>            Reporter: Robert Newson
>         Assigned To: Bela Ban
>            Priority: Minor
>             Fix For: 2.7, 2.6.3
>
>         Attachments: ReplicatedHashMap.patch, ReplicatedHashMapMergeTest.java
>
>
> ReplicatedHashMap does not correctly handle state transfer during a merge, leaving members with inconsistent map entries.
> Specifically, on receipt of a MergeView no attempt is made to reconcile the state of all members. Each member retains the entries it had while partitioned, though all members will correctly apply subsequent mutations.
> I've attached a unit test that demonstrates the bug and also a patch that corrects the behavior (specifically, by calling getState() on the coordinator of each subview on receipt of a MergeView).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list