Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-44950

Large page tree move fails after 3 minutes

XMLWordPrintable

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      Summary

      Enterprise customers or those with very large spaces are unable to move large page trees successfully.

      This is using the built-in "move" function. This doesn't involve the copy page tree plugin at all.

      The customer who experienced this is on 5.8.18. I also tested on 5.9.14 and was able to reproduce the issue in my lab.

      Environment

      • Confluence 5.8.18 through 5.9.14
      • I have attached an xml-backup from my 5.9.14 test instance

      Steps to Reproduce

      1. Create fresh instance
      2. Create test space
      3. Populate test space with ~60,000 pages
      4. Attempt to move entire page tree somewhere
        • Click the ... > Move > select new parent page > Move
      5. Move fails after 3 minutes exactly

      Expected Results

      Page tree is moved successfully

      Actual Results

      Page tree move fails with error

      The following error(s) occurred:
      * Move failed. There was a problem contacting the server. 
      

      The below message is thrown in the atlassian-confluence.log file:

      2016-10-19 16:24:59,247 WARN [http-nio-65357-exec-5] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.page.PageMoveEvent
      @51746f90[theMover=com.atlassian.confluence.user.ConfluenceUserImpl@71b63333[admin,2c94b4a45768ae72015768aec11f0002],oldSpace=Space{key='B'},oldParentPage=page: Bicorporate Home v.1 (917506),oldPosition=<null>,movedBecauseOfParent=false
      ,movedPageList=[page: Atterminement v.1 (1125581), page: Ergon Ditrochous Pacouryuva Math Eric Irrepresentable Typography Inofficial v.1 (1125582), page: Amsath Havoc Sports Precorruption Popelike Rearbitrate Stample Vipera Coinclinatio
      n Fawningness v.1 (1125583), 
      ...
      <snipped content for brevity - huge list of pages here>
      ...
      page: Hail Theophilus Ericetum v.1 (1126649), page: Unmaidenly Aloft Spheration v.1 (1126650), page: Sanctificate Esthesioblast Faultfully v.1 (1126651)],page=page: Atterminement v.1 (1125581),suppressNotifications=false,timestamp=1476912282247] took 16997 ms (warning threshold is 5000 ms)
       -- referer: http://localhost:65357/conf5914/display/B/Atterminement | url: /conf5914/pages/movepage.action | userName: admin | action: movepage 
      
      2016-10-19 16:25:16,841 WARN [http-nio-65357-exec-5] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.page.PageMoveCompletedEvent[source=page: Atterminement v.1 (1125581)] took 17592 ms (warning threshold is 5000 ms)
       -- referer: http://localhost:65357/conf5914/display/B/Atterminement | url: /conf5914/pages/movepage.action | userName: admin | action: movepage
      

      Repro screenshots

      Workaround

      Possibly split the large page tree into several smaller trees, perhaps move them into their own space.

      With the same customer who experienced this and my test environment, smaller page tree moves were not an issue.

        1. har-move-failed-2.png
          har-move-failed-2.png
          106 kB
        2. move-failed-page-tree-repro-2.har
          35 kB
        3. error-moving-repro.png
          error-moving-repro.png
          87 kB
        4. har-move-page-failed.png
          har-move-page-failed.png
          153 kB
        5. move-failed-page-tree-repro.har
          510 kB
        6. xml-export-60000pages-conf5914.zip
          7.44 MB

              Unassigned Unassigned
              jwyllys Justin W.
              Votes:
              6 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: