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

Jira will not reindex filters if indexing anything else fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 7.0.0, 7.2.15, 7.6.7, 7.12.0
    • Fix Version/s: 7.13.0, 7.12.1
    • Component/s: Indexing
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: