Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Indexes are frequently corrupted


After switching the JIRA server, the index is frequently damaged. Although the reconstruction can be normal, it will be damaged again every few days. What is the focus of the investigation


2 answers

1 vote

Index corruption can be caused by all sorts of things, and the only way you're going to find it is by investigation and monitoring.

The first thing to do though is a full, locking, re-index.  This will recreate the index from scratch, giving you a clean, uncorrupted index.  If the damage was done by upgrade, migration or a crash of some sort, then this will fix the files and the error should vanish.

However, if it was caused by something else, it's going to keep happening.  There are a multitude of things that could cause it, but you'll need to look for the thing that is doing a "bad" write to the index.

Some causes include:

  • Disk is full when Jira is trying to write to the index
  • You've put the index on the wrong type of file system
  • You've removed one of the standard built-in post-functions on a transition
  • You've got a script or app that doesn't index issues properly when it should
  • You have written data to the database with SQL instead of going through Jira

But, that list is only a starting point.

First, I would search the log for other indexing errors, but if you do not find any, you will need to start looking at configurations and looking at when the corruption happens so you can tie it to a particular process.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

826 views 25 28
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you