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

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

    XMLWordPrintable

    Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pruivo Pedro Ruivo
                Reporter:
                pruivo Pedro Ruivo
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: