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

Each call to DefaultWikiDescriptorManager#getAll() generates a database query

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.1-rc-1
    • Fix Version/s: 6.2-milestone-1
    • Component/s: Wiki
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      The cache is used for the descriptors but the actual list of wikis is requested again everytime.

      WikiDescriptorManager should also provide an API to get only the wiki ids since that's actually the main use case and we load all descriptors (not already cached) for nothing most of the time.

        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: