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

Manual eviction should not delete entry from cache store

    XMLWordPrintable

Details

    Description

      Here's the scenario:

      Given 2 nodes with REPL_SYNC cache with passivating cache store (e.g. default web cache in AS7).

      1. Create cache entry containing atomic map with 2 map entries on node1.
      2. Passivate that cache entry on node2 via manual evict.
      3. Modify 1 of the atomic map entries within the cache entry on node1.
      4. Lookup atomic map on node2. It only contains 1 map entry - the map entry modified in step 3. The other map entry is lost.

      It's a side effect of ISPN-2384, where some changes were made to tighten the passivation/activation scenarios, but it did not cover manual eviction calls.

      Attachments

        1. AtomicMapServlet.java
          4 kB
        2. AtomicMapTestCase.java
          5 kB
        3. server.log
          1.12 MB
        4. server.log
          1.12 MB

        Issue Links

          Activity

            People

              rh-ee-galder Galder ZamarreƱo
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: