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

The orphaned pages panel does not scale

    XMLWordPrintable

Details

    • Unknown
    • Pull Request accepted

    Description

      Steps to reproduce :

      • Launch a clean 11.10.5 instance
      • Create 100 000 pages without parent … here's a script to do it with the help of the job macro :
        {{job id="{{velocity}}$doc.fullName{{/velocity}}" start="true"}}
        {{groovy}}
          def logger = services.logging.getLogger(doc.getFullName());
        
          for (int i=0;i<100000;i++) {
            if (i % 100 == 0) {
              logger.warn("Working on document ${i}")
            }
            def document = xwiki.getDocument("Main.${i}");
            document.save();
          }
        {{/groovy}}
        {{/job}}
        
      • Now, if you already added the orphean pgaes pages panel in the ui of the wiki, your wiki should be pretty much unusable. However, this is usually not the case : the panel is deprecated since we don't use the notion of "parent" anymore, and it's not visible in the default ui of the wiki
      • Go in the wiki administration, in the panels section
      • In this page, every panel gets rendered, including the orphean pages panel, which will take a large amount of time and will slow the rendering of the page.

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: