Incorrect index

The issue index is inconsistent with the database state. Database has (297 675) issues but the index has (297 672) issues

what is the reasons and solution? 

reindex is understood, but i wonder what the reasons of diffrent index. what i can do to minimize effect of diff index vs DB

1 answer

0 vote

The reasons are varied, could be a server crash, a dodgy plugin, a bug, or even just an unforseen clash with a disk write action.

The solution is a simple one -reindex the whole lot.

Minimising this discrepancy is almost certainly not worth the effort.  If it was a huge one, that built up rapdily, I'd be looking at why it was happening and trying to fix it.  But 3 issues in 300,000 is really not a worry.

Thanks fo your answer. I'll keep calm :)

The impact of this now is differences in values in filters and issue status in fact. So, users sometimes are dissatisfied and worry about these differences because they use dashboards which can mislead.    

 

Book time for a full re-index (not the background one). 

I suspect you'll struggle to find an error in a filter caused by this discrepancy.  Why are your users looking at the index anyway?  The way it works in the background is not relevant to them, and the discrepancy you're reporting is unlikely to actually be a problem.

Users dont look at index, they look at dashboards where these filtres reflects values on JIRA gadgets. So (for instance) user can see in gadget the status of issue is "Resolved", but the real status of this issue is "In Progress" and is clear only if user opens this issue on page.  

Re-index of JIRA helps to resolve this bug, but it'd be better to escape this situation at all.

 

How often does this actually happen?

I ask because a broken index is something that should be very rare.  If your users are seeing this behaviour regularly and frequently (more than once every 6 months), you have something very wrong in your system and you should be fixing that.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

35 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you