Index stops functioning because org.apache.lucene.store.AlreadyClosedException is not handled correctly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 6.3.8
    • Affects Version/s: 6.3.5, 6.3.6, 6.3.7
    • Component/s: None
    • 6.03

      Summary

      Sometimes any operations on the index, for example searching, will cease functioning. In the logs there will be an error like:

      com.atlassian.jira.issue.index.SearchUnavailableException: com.atlassian.util.concurrent.LazyReference$InitializationException: org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
      

      Cause

      The org.apache.lucene.store.AlreadyClosedException exception is not being handled correctly.

      Workaround

      One of the following will get it working again:

      1. Restart JIRA
      2. Do a full locking re-index

            Assignee:
            crf
            Reporter:
            David Mason (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            35 Start watching this issue

              Created:
              Updated:
              Resolved: