Is it possible to suspend JIRA indexing service for sometime and resume it again after sometime

Is it possible to suspend JIRA indexing service for sometime and resume it again after sometime

1 answer

1 accepted

0 vote

The details of my answer depend on what indexing process you are looking at really, but the overall answer is essentially "no".

I think a more useful question here is "why do you think you want to stop the indexing service"? As that will enable us to give you a more useful answer/explanation and probably help you get to your goal.

Nic,

OK let me explain, is it possible to copy the jira_home and jira installation directory and restore the database dump and create an exact copy of JIRA instance in a usable condition without reindexing ? for this the index files have to be in a consistent state.So, i was thinking if i somehow could stop JIRA reindexing service and take a copy of the index files, i am sure of it being in a consistent state.

Ah, ok, that makes sense.

There's no point though. If you want an exact copy of a working Jira created from another one, then you need to STOP the Jira completely. Not just the indexing, you need to stop everything.

Once a Jira has been stopped, you can pick the whole thing up and copy it over.

Well I actually wan't to avoid reindexing when I recreate a copy of JIRA, i see only 2 variables here 1. database dump 2. index files

If i can somehow stop indexing serivce and take a copy of it, i should be able to recreate the JIRA instance without stopping other services.

Well, i understand that the index files and database state will be slightly off, i think this should be OK..

No, that's the point, they won't be "slightly off", there's a good chance that they will be completely broken.

If you copy a Jira that is shut down, you won't need to reindex. If you copy an active one, then in most cases you'll get a few blips in the index, but in some cases, you'll need to re-index completely (The last time I tested this in a DR scenario, it was around 40%).

Shutting down the indexing service while you take a backup is a complete red-herring, it will actually make things worse as the index you're copying will be even further away from the database.

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 Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

76 views 0 11
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