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

Always purge non-shared stores on cache startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 11.0.3.Final
    • Core, Loaders and Stores
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: