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

Documents containing XClass definitions aren't cached anymore causing high database load

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Repeatedly access some pages of the wiki
      2. Monitor database queries

      Expected result:

      There are no documents loaded from the database as on repeated access, they are cached.

      Actual result:

      Lots of documents containing XClass definitions are repeatedly loaded from the database, like XWiki.DocumentSheetBinding

      This is because due to a bug in the implementation of XWIKI-22782, cloning the XClass marks the document as dirty and since XWIKI-22892, this means that the cache isn't used anymore.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: