Hi,
Currently i use Jelly script for Background Re-indexing on a scheduled weekly specified time basis, due to huge production data. We get timeout error and Indexing file gets corrupted. Instead i would like to use if there is any other method to lock the JIRA and do re-index using Jelly script.
I didnt find any information in attlassian forum Question & Answers section.
The below error gets during Re-indexing in production.
Wait attempt timed out - waited 30000 milliseconds
com.atlassian.jira.issue.index.IndexException: Wait attempt timed out - waited 30000 milliseconds
2013-09-12 21:40:15,383 StreamsCompletionService::thread-8065 WARN xeccfmm 1300x1345808x1 14obz24 10.2.123.76 /plugins/servlet/streams [atlassian.jira.index.DefaultIndexEngine] Tried to reopen the IndexReader, but it threw AlreadyClosedException. Opening a fresh IndexReader.
Also
2013-09-12 22:03:06,149 IssueIndexer:thread-9 ERROR anonymous JIRAJelly [issue.customfields.impl.AbstractSingleFieldType] More than one value stored for custom field id 'customfield_10270' for issue 'GCTDOCCUSMOD-763'. Values [11167, 11167]
2013-09-12 22:03:57,181 IssueIndexer:thread-3 ERROR anonymous JIRAJelly [issue.customfields.impl.AbstractSingleFieldType] More than one value stored for custom field id 'customfield_12198' for issue 'CTDLM-21334'. Values [17272, 17272]
We got " More than one value stored for custom field id'" error back for few custom field.
---------------------------------------------------
Please let me know, how to solve this error and is there any method i can implement in Jelly script to lock the Jira and Re-index.
Thanks & Regards,
Ravi
Note - The same script i use in UAT and Sandbox and its working fine without any issues, due to data is less compared to PROD.