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

PutFromLoadValidator read stale data from the cache.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 4.2.1.FINAL
    • Transactions
    • None

    Description

      Hi,

      This problem actual started as a investigation on the JBoss Cache in a cluster, but we believe this also exists in Infinispan. We able to reproduce it with Infinispan also. It's a combination of a problem in the Hibernate 2LC and Infinispan so I might not be the right place to create this jira.

      This is what we have been able to find out so far. "When an invalidation event arrived on node #2 there is no callback to the 2LC layer that will make sure to call invalidate. Another problem we discover was if a collection is invalidated on node #1 twice in a row the second time no invalidation event is broadcasts to node #2, and that’s a problem because in between invalidation event #1 and #2 the PutFromLoadValidator is called on node #2 and this makes it read stale data from the cache.

      The forum link contains a possible patch for Infinispan and Hibernate 2LC, but there might be other areas in the code the patch could introduce a problem for

      Attachments

        Activity

          People

            Unassigned Unassigned
            fharms_jira Flemming Harms (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: