Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-67746

Jira will not reindex filters if indexing anything else fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 7.13.0, 7.12.1
    • 7.0.0, 7.2.15, 7.6.7, 7.12.0
    • Indexing
    • None

      Problem Experienced

      Jira ends up with an index that doesn't contain filters, making it impossible to use filters just by providing their name (filter's ID has to be used).

      Existing Behavior

      During reindex (both background and foreground), if an exception is thrown during indexing any issue, comment, change history or worklog, Jira will not attempt indexing filters.

      Expected Behavior

      If indexing some issue, comment, change history or worklog fails, Jira will still attempt to index filters. Jira might be able to finish indexing all filters correctly or fail indexing just a few of them.

      Notes

      This behavior is a result of first logging ("Reindex All FAILED. ..."), and then rethrowing an exception inside CompositeIndexLifecycleManager#reIndexAll method, making Jira exit a loop responsible for running different indexers.

            drauf Daniel Rauf
            drauf Daniel Rauf
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: