[infinispan-issues] [JBoss JIRA] (ISPN-2729) [FineGrainedAtomicMap] Class Cast Exception in Clustered + Repeatable Read + Write Skew

Radim Vansa (JIRA) issues at jboss.org
Fri Aug 11 05:57:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Vansa closed ISPN-2729.
-----------------------------
    Resolution: Out of Date


> [FineGrainedAtomicMap] Class Cast Exception in Clustered + Repeatable Read + Write Skew
> ---------------------------------------------------------------------------------------
>
>                 Key: ISPN-2729
>                 URL: https://issues.jboss.org/browse/ISPN-2729
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core, Transactions
>         Environment: Mac OSx 10.5, Java 1.6 sun-jdk, maven 3.0.4
>            Reporter: Pedro Ruivo
>            Assignee: Pedro Ruivo
>              Labels: atomic_map, clustered, write-skew
>
> Test case available in here [1]
> When a transaction commits, the write skew check performs the validation by casting the cache entry to a ClusteredRepeatableReadEntry. However, the entry is a DeltaAwareCacheEntry.
> This happens when you have operations over a map inside a transaction.
> The tests failing are: 
> WriteSkewFineGrainedAtomicMapAPITest.testSizeOnCache()
> WriteSkewFineGrainedAtomicMapAPITest.testCreateMapInTx()
> [1]https://github.com/pruivo/infinispan/commits/t_atomic_map_issue



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list