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!
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
Make a backup of the following directory and all its sub-directories:
$JIRA_HOME/caches/indexes
Remove that directory and all its sub-directories:
$JIRA_HOME/caches/indexes
Try it in a your non production instance so you can compare time.
Ciao,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.