Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-187

Uuid-key-mapping does not work since ehcache3

    XMLWordPrintable

Details

    • Yes
    • Yes
    • Maintenance 1, Maintenance 2
    • 0

    Description

      Ehcache3 uses persistent disk store by default = copy on read (or write or both).
      That means the mapping which we put into map retrieved by info.magnolia.module.cache.cachepolicy.Default#getUUIDKeySetFromCacheSafely
      are not saved in the same object which is cached but into a copy.

      The possible solution is to create a separate config for uuid-key-mapping without the disk store.

      This used to work with

      • Ehcache2 since that one is not persistent by default
      • Ehcache15 even though was also persistent

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                rkovarik Roman Kovařík
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Time Spent - 17m Remaining Estimate - 1h
                      1h
                      Logged:
                      Time Spent - 17m Remaining Estimate - 1h
                      17m