Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-15831

Better handling of the View Attachments page when there are many versions of an attachment

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

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

      If an attachment has many versions (in the tens thousands range), it can cause Confluence to crash with an OOM when viewing the view attachments page. This is because the view attachments page renders a list of all attachments on a page as well as all its versions (its versions are just added a class hidden and the arrow to display them just toggles this class).

      We should either load the previous version only when the user clicks on the arrow by an AJAX call, or even provide a paginated view of such a large number of versions.

      If if the attachment does not have version in the tens of thousands, but does have a significant amount, it will cause the attachments page rendering time to degrade badly.

      Thus this solution should not only consider prevent the OOME but also keeping the page load time scalable.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              agnes@atlassian.com Agnes Ro
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: