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

Attachment migration from DB to filesystem fails with either OOME or exhausted file handles

    XMLWordPrintable

Details

    Description

      Migration of the attachments out of the database onto the filesystem will cause a race between running out of memory and running out of file handles (from the spool files) if there are a large amount of attachments.

      This looks like it is due to using HQL to do the delete of all of the attachmentdata, which causes a find(...), which looks like it loads all of the entities.

      Attachments

        Issue Links

          Activity

            People

              rthomas@atlassian.com RyanA
              rthomas@atlassian.com RyanA
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: