Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-3932

Allow storing the extension job history in a shared location

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.0
    • Extension
    • Unknown

    Description

      The extension job history (the record of all the extension install, uninstall and upgrade jobs, with the answers given to their questions, which is displayed, exported and replayed from the Extension History administration section) is currently stored in the local permanent directory (<permdir>/extension/history/, or the folder configured with extension.historyFolder), one XML file per day. DefaultExtensionJobHistory appends each new record to the file of the day and loads all the files in memory at startup.

      It would be interesting to allow storing it in a shared location instead (for example a blob store, see XCOMMONS-3250, or the database):

      • it's a requirement to be able to run XWiki without any persistent file storage (XWIKI-22847): right now the whole history is lost when the permanent directory is not persistent
      • in a cluster, each member only knows about the jobs it executed itself, so the history displayed (and what can be exported or replayed) depends on which cluster member handles the request

      This is related to, but distinct from, the local extensions and the index of installed extensions (XCOMMONS-3251).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: