DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32171>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32171

Lock obtain time out errors when opening readers and writers

           Summary: Lock obtain time out errors when opening readers and
                    writers
           Product: Lucene
           Version: 1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The attached Java file shows a locking issue that occurs with Lucene 1.4.2.

One thread opens and closes an IndexReader.  The other thread opens an
IndexWriter, adds a document and then closes the IndexWriter.  I would expect
that this app should be able to happily run without an issues.

It fails with:
  java.io.IOException: Lock obtain timed out

Is this expected?  I thought a Reader could be opened while a Writer is adding a
document.

I am able to get the error in less than 5 minutes when running this on Windows
XP and Mac OS X.

Any help is appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to