[infinispan-issues] [JBoss JIRA] Commented: (ISPN-419) Transactional AtomicHashMap modifications are lost when persisting

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Wed May 5 10:29:06 EDT 2010


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

Galder Zamarreno commented on ISPN-419:
---------------------------------------

Fixed by making sure deltas are only used for repl/dist and when storing to cache store taking the underlying map of the atomic hash map and marshalling that. Added a test to verify that merging works correctly in a clustered env as well.

> Transactional AtomicHashMap modifications are lost when persisting
> ------------------------------------------------------------------
>
>                 Key: ISPN-419
>                 URL: https://jira.jboss.org/jira/browse/ISPN-419
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 4.0.0.Final, 4.1.0.ALPHA3
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 4.1.0.BETA1
>
>
> When an AtomicHashMap stored in a cache store using transactions, the actual modification is lost.
> This is due to duplication of modifications being fired. After the 1st modification has been sent to another node or cache store, its delta is reset and when the 2nd modification comes, it finds delta as being null and hence that's what's replicated stored.

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

        


More information about the infinispan-issues mailing list