Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-46567

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 5.10.6, 5.10.8, 6.15.9, 7.3.5
    • Search - Indexing

      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

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

                Created:
                Updated: