Indexes are frequently corrupted

Weixing Xu December 23, 2021

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

20211224113327.png

2 answers

2 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 24, 2021

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.

2 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 23, 2021

Suggest an answer

Log in or Sign up to answer