Forums

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

Is a re-index required after upgrading JIRA?

LISA Wilson June 20, 2018

Hi. I've always done a re-index as part of my upgrade procedure, running a locked reindex after the upgrade. But our instance has grown larger over the years, and now takes a very long time to run. (Around two hours.) This makes for a very long install night and causes an unacceptably long JIRA outage for our users.  

My question is, is a re-index required or recommended as part of the upgrade process? 

 

Thanks! 

1 answer

1 accepted

1 vote
Answer accepted
Fabio Racobaldo _Herzum_
Community Champion
June 21, 2018

Hi Lisa,

reindexing is suggested after an upgrade a major configuration changes (https://confluence.atlassian.com/adminjiraserver/re-indexing-after-major-configuration-changes-938847716.html). Upgrade, usually, involves plugins upgrade so my suggestion is to maintain reindexing as part of your upgrade process.

 

If you want to save time, you could try to perform reindexing from scratch. This operation usually is faster than normal locked reindexing

 

  1. Stop JIRA
  2. Make a backup of the following directory and all its sub-directories:

    $JIRA_HOME/caches/indexes
  3. Remove that directory and all its sub-directories:

    $JIRA_HOME/caches/indexes
  4. Start JIRA
  5. Perform a locked/full re-index of JIRA

 

Try it in a your non production instance so you can compare time.

Ciao,

Fabio

LISA Wilson June 21, 2018

Thank you, Fabio! I will give that a try in our Dev environment. 

Suggest an answer

Log in or Sign up to answer