[infinispan-issues] [JBoss JIRA] (ISPN-2149) FineGrainedAtomicMap implementation fails to consider removal of elements

Mircea Markus (JIRA) jira-events at lists.jboss.org
Fri Aug 24 10:46:19 EDT 2012


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

Mircea Markus commented on ISPN-2149:
-------------------------------------

This forum issue[1] seems to be related. Can you please alo confirm these two(the bug and the forum)are backed by the same problem.
[1] https://community.jboss.org/message/751506#751506
                
> FineGrainedAtomicMap implementation fails to consider removal of elements
> -------------------------------------------------------------------------
>
>                 Key: ISPN-2149
>                 URL: https://issues.jboss.org/browse/ISPN-2149
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core API
>    Affects Versions: 5.1.5.FINAL, 5.2.0.ALPHA1
>            Reporter: Sanne Grinovero
>            Assignee: Vladimir Blagojevic
>            Priority: Blocker
>              Labels: affects_OGM
>             Fix For: 5.2.0.Alpha3, 5.2.0.Final
>
>
> Most methods in the {{org.infinispan.atomic.FineGrainedAtomicHashMapProxy<K, V>}} implementation seem to ignore the use case of removing keys from the map.
> {{keySet()}}, {{values()}}, {{entrySet()}}, {{size()}}, {{isEmpty()}}
> all ignore the fact that values in the uncommitted map might have been *removed* in the current transaction, or have *intersections* with existing keys.
> Note that failing to consider intersections has it return the wrong entries as committed values overwrite the in-flight values.
> Methods like {{containsKey}} don't check if the matched key is in fact stored in the {{DeltaAwareCacheEntry}} as a deleted entry.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list