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

Operations utilizing the Lucene index fail due to mishandling of org.apache.lucene.store.AlreadyClosedException error

    XMLWordPrintable

Details

    • 6.04
    • 43
    • Severity 2 - Major
    • 59
    • Hide
      Atlassian Update – 21 December 2018

      Dear Jira users,

      We’re glad to announce that this issue will be addressed in our upcoming 8.0 release.

      You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588

      Looking forward to your feedback!

      Kind regards,
      Syed Masood
      Product Manager, Jira Server and Data Center

      Show
      Atlassian Update – 21 December 2018 Dear Jira users, We’re glad to announce that this issue will be addressed in our upcoming 8.0 release. You can find more details about our 8.0 beta release here — https://community.developer.atlassian.com/t/beta-for-jira-8-0-is-up-for-grabs/25588 Looking forward to your feedback! Kind regards, Syed Masood Product Manager, Jira Server and Data Center

    Description

      Summary

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

      org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
      	at org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:263)
      	at org.apache.lucene.index.IndexReader.decRef(IndexReader.java:237)
      	at com.atlassian.jira.index.DelayCloseSearcher$SearcherCloser.decReaderRef(DelayClos
      

      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

      Attachments

        Issue Links

          Activity

            People

              mswinarski Maciej Swinarski (Inactive)
              schew@atlassian.com Sean Chew (Inactive)
              Votes:
              75 Vote for this issue
              Watchers:
              96 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: