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

Robert Newson (JIRA) jira-events at lists.jboss.org
Tue May 6 12:39:39 EDT 2008


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



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