Problem with inline comments when the page has a large number of resolved comments

XMLWordPrintable

    • 2
    • Severity 2 - Major
    • 1

      Problem

      When a page contains a substantial number of resolved comments, it may experience delays in displaying these comments, or in some instances, they may fail to appear altogether.

      Steps to Reproduce

      1. Create a page
      2. Add a large number of inline comments to it, ex: 3.5k.
      3. The page and the comments should load in an acceptable time. (8s to 15s)
      4. Resolve a good part of the comments, let's say 1500 comments.
      5. The page and its comments should now take a lot more to load up completely. 

      Expected Results

      The page and its comments should load in an acceptable time.

      Actual Results

      The page content loads in an acceptable time, but the comments take a lot to show up; sometimes, we see it time out.

      During testing, found that the time spent loading up the comments is greatly related to the amount of resolved comments.

      Resolved Comments  Load time
      300 22s
      500 28s
      850 41s
      1215 1m
      1679 1.4m
      2145 1.8m
      2775 2.4m
      3111 2.7m

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available. However, if the page has this many comments a move to a new page should be considered.

      Notes

        1. image-2024-05-13-14-11-30-361.png
          320 kB
          Filipe Rodrigues
        2. image-2024-05-13-14-12-02-824.png
          315 kB
          Filipe Rodrigues

            Assignee:
            Manonmani Muthukrishnan
            Reporter:
            Filipe Rodrigues
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: