[infinispan-issues] [JBoss JIRA] (ISPN-12210) Always purge non-shared stores on cache startup
Dan Berindei (Jira)
issues at jboss.org
Mon Aug 10 13:01:00 EDT 2020
Dan Berindei created ISPN-12210:
-----------------------------------
Summary: Always purge non-shared stores on cache startup
Key: ISPN-12210
URL: https://issues.redhat.com/browse/ISPN-12210
Project: Infinispan
Issue Type: Bug
Components: Core, Loaders and Stores
Affects Versions: 11.0.3.Final
Reporter: Dan Berindei
Fix For: 12.0.0.Final
{{purgeOnStartup}} is unsafe with shared stores, but it must be enabled for non-shared (private) stores in order to avoid resurrecting removed entries.
We can enhance the graceful cluster/cache shutdown operations to save a "disable purge" flag in the persisted state, and purge on cache startup the non-shared stores of any cache missing the "disable purge" flag. This will remove the need to ever disable {{purgeOnStartup}}.
Then we can ignore the {{purgeOnStartup}} setting and only log a warning that it will be ignored if the user enabled it for shared stores or disabled it for non-shared stores.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list