Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4097

index was locked because of InterruptedException

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1
    • None
    • core/index
    • None
    • New

    Description

      the index was locked, because of InterruptedException,and i could do nothing but restart tomcat,
      how could i avoid this happen again?
      thanks

      this is stacktrace:
      org.apache.lucene.util.ThreadInterruptedException: java.lang.InterruptedException
      at org.apache.lucene.index.IndexWriter.doWait(IndexWriter.java:4118)
      at org.apache.lucene.index.IndexWriter.waitForMerges(IndexWriter.java:2836)
      at org.apache.lucene.index.IndexWriter.finishMerges(IndexWriter.java:2821)
      at org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:1847)
      at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1800)
      at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1764)
      at org.opencms.search.CmsSearchManager.updateIndexIncremental(CmsSearchManager.java:2262)
      at org.opencms.search.CmsSearchManager.updateIndexOffline(CmsSearchManager.java:2306)
      at org.opencms.search.CmsSearchManager$CmsSearchOfflineIndexThread.run(CmsSearchManager.java:327)
      Caused by: java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at org.apache.lucene.index.IndexWriter.doWait(IndexWriter.java:4116)
      ... 8 more

      Attachments

        Activity

          People

            Unassigned Unassigned
            qwong wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: