]
Dan Berindei updated ISPN-4908:
-------------------------------
Status: Open (was: New)
Clustered cache with FileStore (shared=false) is inconsistent after
restarting one node if entries are deleted during restart
-----------------------------------------------------------------------------------------------------------------------------
Key: ISPN-4908
URL:
https://issues.jboss.org/browse/ISPN-4908
Project: Infinispan
Issue Type: Bug
Environment: Clustered REPL cache, preloaded, no eviction/expiration
Reporter: Wolf-Dieter Fink
Assignee: William Burns
If a cache instance with a cache store is down and the cache is changed until the
instance is back and join the cluster the cache can become inconsisstent.
If entries are deleted during downtime,
- the FileStore with stale object is loaded first if preload=true
- the local entries are updated with new and changed objects from the cluster
- removed entries from the cluster are not seen and therefore not deleted
After complete sync (only) this instance will have stale objects.
From a consistence and performance perspective the FileStore should be pruned on
cluster-join by default in this case