How to change the compression method of index snapshot files in Jira Data Center

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center Only - This article only applies to Atlassian products on the data center platform.

Purpose

Jira's index snapshot files are created in a compressed format. Starting with Jira 7.12.0, the default algorithm is Google's Snappy (.tar.sz). It was chosen aiming very high speeds and reasonable compression.

JRASERVER-67732 - Getting issue details... STATUS

This can be customised to tarball (.tar) or Zip (.zip).

Solution

Follow these steps in order to change the compression method. Repeat the steps for all Jira Data Center nodes:

  • The compression method used can be configured with the jira.index.snapshot.copy.archiver application property. Add the following line to the file. The values could be either snappy, zip or tar:
jira.index.snapshot.copy.archiver = snappy|zip|tar
  • Restart the node for the changes to take effect.


The chosen algorithm will reflect in the size of the compressed snapshot file and how fast the file is created. Ensure to validate it on a staging environment first.



Last modified on Apr 30, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.