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

Always purge non-shared stores on cache startup

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

              Unassigned Unassigned
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: