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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 5.10.6, 5.10.8, 6.15.9, 7.3.5
    • Component/s: Search - Indexing
    • 16
    • Severity 3 - Minor
    • 1

      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 Confluence
      2. Rebuild Indexes from scratch

            Assignee:
            Unassigned
            Reporter:
            Anton Shaleev (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: