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

Check size of attachment before content indexing

XMLWordPrintable

      When indexing larger attachments, it would benefit our clients greatly if we checked the size of attachment before indexing same. In other words, when an attachment is too large, instead of attempting the indexing, bail earlier if the attachment is too large.

      System property atlassian.indexing.contentbody.maxsize is meant to provide this functionality, however has been reported not to be working.

      Workaround

      As of 5.9 there is 'canary' functionality in the Office Connector that will abort indexing on large documents if they would cause an OutOfMemory error. More details can be found here.

      NB: The canary is now enabled by default and does not require a dark feature.

              mfedoryshyn Maksym Fedoryshyh
              ctalk chucktalk (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: