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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Canada

AUG Lunch Roundtable - August 13 - Highlights

Thanks to everyone who came out today for the lunch AUG - we had some great food and discussion (and ice cream sandwiches to fend off the heat!) The welcome and fun fact was great as well, what an aw...

28 views 1 3
View post

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