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

XWikiCacheStoreInterface#flushCache should always be called after a migration

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      The migrations we're performing usually have an impact to the documents, and it's very easy to forget to flush the cache when performing a migration, which might then be overridden by another migration if it was done directly in DB and the other migration use the cached doc to perform changes.
      This is what happened in XWIKI-25199, so to avoid having that issue in the future I think we should systematically flush the cache after a migration.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: