Background

Due to very high consumption of database storage by the R4J table AO_242870_REVISION_HISTORY, development effort has been made to optimize the storage and performance of revisions in R4J.
The significant change in data structure is introduced at R4J version 4.5. Starting with this version, the R4J revision history table no longer serves as the main table for revision transactions. The evaluation of revision data is now done with the already existing history table of Jira.

What to expect

Executing the cleanup task will:

Other important things

We highly recommend to backup your data, make necessary preparations before performing the process, and first run and verify the result on a test/staging system. If you encounter issues with R4J 4.5, please reach out to us through our support portal.

Cleaning up

To perform the cleanup process:

  1. Go to App/Add-on Administration > (R4J section) Cleanup Revisions.

  2. On the page, click on the Cleanup button.

  3. A confirmation dialog will pop-up to confirm if you wish to proceed with the cleanup process. Click on Cleanup to continue or Cancel.

  4. If you proceed with the cleanup, the process will start running. It may take a while depending on the amount of data you have.

  5. Once the cleanup is finished, statistics will be displayed and the cleanup logs can be downloaded.
    If a direct download is required, revision cleanup logs can be found at <JIRA_HOME>/log/r4j-revision-cleanup-<timestamp>.log