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

In a distributed cache stale entries are not removed from the store


    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.3.6.Final, 9.4.17.Final, 10.0.1.Final, 10.1.0.Final
    • Fix Version/s: 12.0.0.Final
    • Component/s: Core, State Transfer
    • Labels:
    • Sprint:
      DataGrid Sprint #38, DataGrid Sprint #39


      This is a follow-up on ISPN-11116. It's wrong for invalidation commands to load the previous value from the store, but we also have the opposite problem: in a distributed cache, when a node loses some segments and the store is not segmented, we use an InvalidateCommand to remove stale entries, and it doesn't actually remove any entries from the store.

      Instead of keeping InvalidateCommand as is and finding another solution for removing stale segments, we could change InvalidateCommand to also remove entries from private stores.

      Invalidation mode is very unlikely to be used with private stores, but we don't actually prohibit it, so it's better for invalidation mode as well if InvalidateCommand removed entries from the private stores and ignored the shared stores. The only problem remaining is to actually optimize CacheLoaderInterceptor so that it doesn't load the previous value unless there is a listener.

        Gliffy Diagrams


            Issue Links



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


                  • Created: