Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-68510

DC index copy does not clean up old files when Snappy archiver is used

XMLWordPrintable

    • 7.12
    • Severity 2 - Major
    • Hide
      Atlassian Update – 21 December 2018

      Dear Jira users,

      We’re glad to announce that this issue will be addressed in our upcoming 8.0 release.

      You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588

      Looking forward to your feedback!

      Kind regards,
      Syed Masood
      Product Manager, Jira Server and Data Center

      Show
      Atlassian Update – 21 December 2018 Dear Jira users, We’re glad to announce that this issue will be addressed in our upcoming 8.0 release. You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588 Looking forward to your feedback! Kind regards, Syed Masood Product Manager, Jira Server and Data Center

      Problem

      DefaultIndexCopyService doesn't clean old index snapshots in caches/ under Jira shared home director when Snappy archiver is used. It only works with zip snapshots.
      Snappy archiver is used by default for Jira 7.12.0 and newer.

      Expected behaviour

      DefaultIndexCopyService should keep at most 3 index snapshots in caches/ under Jira shared home directory.

      Workaround 1

      Disable snappy archiver by setting

      index.use.snappy = false

      Workaround 2

      Manually inspect and remove old IndexSnapshot_* files from caches/ directory from time to time.

      Note

      See IndexUtils#INDEX_SNAPSHOT_EXT.

              klopacinski Karol Lopacinski
              kcichy Kamil Cichy (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: