Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13771

Make XWikiCacheStore#flushCache() empty the cache instead of trying to create a new one

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.3-rc-1
    • Fix Version/s: 8.3
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Cache API provide a removeAll() method. Using that would be much safer that recreating the cache which right now mean that the cache is stopped and then recreated leaving the farm is a unknown state in between.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: