[infinispan-issues] [JBoss JIRA] (ISPN-4908) Clustered cache with unshared store is inconsistent after restarting one node if entries are deleted during restart

Tristan Tarrant (JIRA) issues at jboss.org
Wed Nov 26 05:18:41 EST 2014


     [ https://issues.jboss.org/browse/ISPN-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-4908:
----------------------------------
    Description: 
If a cache instance with an unshared 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 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 store should be pruned on cluster-join by default in this case

  was:
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



> Clustered cache with unshared store 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 an unshared 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 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 store should be pruned on cluster-join by default in this case



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the infinispan-issues mailing list