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.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

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.