Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira DC: Can not delete Jira internal caches

Omid H. December 13, 2020

Dear colleagues,

 

we updated Jira Server to Jira Data Center and changed the host to AWS and changed the data base type from MSSQL to Postgre and have two notes.

We deleted the "Groovy class loader" and it works fine, but if we want to delete "Jira internal caches" it failed and Jira database was corrupted. We have to restore the whole instance with backup file.

In logs are nothing, but db was destroyed.

Did you face this issue?

Big thanks in advance!

Br,
Omid

 

123.jpg

1 answer

0 votes
mogavenasan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 10, 2021

Hi @Omid H.,

AFAIK, clearing the Jira cache would not corrupt the database.

  1. You mentioned that the operation failed. How do you know it failed, was there any error shown on the UI?
  2. How do you know the Jira database was corrupted?

I have done this multiple times on a JDC with 3 nodes and have not seen any issue with the operation. As mentioned by the vendor itself in Clear Jira or Groovy Caches:

Clear Jira Internal Caches - Clear Jira internal caches after changing something in the backend such as modifying a database table. Clearing the internal cache is safe for use on production environments, as the cache is cleared during enabling/disabling of plugins.

It's pretty safe to use in the Production environment, however, I would recommend doing this after office hours/low usage period.

Thanks,
Moga

Omid H. January 11, 2021

1) The Error message was "failed"

2) You can not restart the application. After restoring process it was possible. 

mogavenasan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2021

What is the error in the Jira logs when you restarted the node?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events