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

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

    XMLWordPrintable

    Details

    • Introduced in Version:
      7.12
    • Symptom Severity:
      Severity 2 - Major
    • Current Status:
      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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              klopacinski Karol Lopacinski
              Reporter:
              kcichy Kamil Cichy
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: