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

Cache.evict() sometimes performs a DataContainer.remove()

    Details

      Description

      Cache.evict() generally uses DataContainer.evict() to move an entry from the data container to the store.

      However, when EntryWrappingInterceptor doesn't find the entry in the data container, EvictCommand.perform() doesn't set the EVICTED flag on the context entry, and then ReadCommittedEntry.commit() calls DataContainer.remove() instead of DataContainer.evict().

      If another command activated the entry between the entry wrapping and the commit, this will remove the entry altogether instead of moving it to the store.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dan.berindei Dan Berindei
                  Reporter:
                  dan.berindei Dan Berindei
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: