• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 6.4.0, 6.6.7, 6.13.4, 6.13.6
    • Content - History

      Steps to reproduce

      1. Create page with large amount of lines. For example, 7000+ lines
      2. Edit the page and replace large amount of texts
      3. Go to Page History and compare the page versions

      Expected Behaviour

      Confluence throws timeout message like "Comparing these versions exceeded the timeout of 10 seconds"

      Actual Behaviour

      Page comparison will keep running and exceed 10 seconds default timeout . No WARN or ERROR thrown in atlassian-confluence.log and Long Running Task thread is reported in catalina.out as shown in example below:

      05-Feb-2018 18:41:44.638 WARNING [ContainerBackgroundProcessor[StandardEngine[Standalone]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread "http-nio-9642-exec-1" (id=182) has been active for 61,887 milliseconds (since 2/5/18 6:40 PM) to serve the same request for http://localhost:9642/conf642/pages/diffpagesbyversion.action?pageId=2588680&selectedPageVersions=3&selectedPageVersions=2 and may be stuck (configured threshold for this StuckThreadDetectionValve is 60 seconds). There is/are 2 thread(s) in total that are monitored by this Valve and may be stuck.
       java.lang.Throwable
      	at sun.misc.Unsafe.park(Native Method)
      	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
      	at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:429)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:191)
      	at com.atlassian.util.concurrent.ConcurrentOperationMapImpl$CallerRunsFuture.get(ConcurrentOperationMapImpl.java:65)
      	at com.atlassian.util.concurrent.ConcurrentOperationMapImpl.runOperation(ConcurrentOperationMapImpl.java:51)
      	at com.atlassian.confluence.diff.WikiConvertingHtmlDiffer.diff(WikiConvertingHtmlDiffer.java:42)
      	at com.atlassian.confluence.pages.actions.AbstractDiffPagesAction.execute(AbstractDiffPagesAction.java:74)
      ...
      

          Form Name

            [CONFSERVER-54924] Long Running Task When Comparing Versions With Large Changes

            There are no comments yet on this issue.

              Unassigned Unassigned
              jalbion Janet Albion (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated: