Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2729

[FineGrainedAtomicMap] Class Cast Exception in Clustered + Repeatable Read + Write Skew

XMLWordPrintable

      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

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: