As a Jira Admin I want to configure a tolerate threshold for amount of errors during Jira reindexing

XMLWordPrintable

    • 3
    • 20

      Problem

      Jira has full reindex process. If any error happends during this time, error is accumulated and showed at the end, eg:

      2018-11-13 10:01:07,436 JiraTaskExectionThread-1 ERROR admin 1139x124894x1 1s 127.0.0.1 /secure/admin/IndexReIndex.jspa [c.a.j.util.index.CompositeIndexLifecycleManager] Reindex All FAILED. Indexer: DefaultIndexManager: paths: [/jira/caches/indexes/comments, /jira/caches/indexes/issues, /jira/caches/indexes/changes, /jira/caches/indexes/worklogs, /jira/caches/indexes/plugins/jira-git-files, /jira/caches/indexes/plugins/jira-git-pullrequestinfos, /jira/caches/indexes/plugins/jira-git-revisions]
      com.atlassian.jira.index.IndexingFailureException: Indexing completed with 2 errors
      at com.atlassian.jira.index.AccumulatingResultBuilder$CompositeResult.await(AccumulatingResultBuilder.java:150)
      ...
      

      In some cases, reindexing process for 3m+ issues might take 20+h and at the same time, number of errors could be quite small (~10) so it's preferable to have non-consistent index then to loose all that accumulated work.
      It could also mitigate problems like JRASERVER-69826

      Suggestion

      • Allow Jira Admin to decide tolerated level of error during reindexing

      Extra

      • Create a tool which will allow to identify missing issues and fix the discrepancy.

            Assignee:
            Unassigned
            Reporter:
            Andriy Yakovlev [Atlassian]
            Votes:
            9 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: