You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2006/11/02 19:47:32 UTC
[jira] Resolved: (LUCENE-307) Lock obtain time out errors when
opening readers and writers
[ http://issues.apache.org/jira/browse/LUCENE-307?page=all ]
Michael McCandless resolved LUCENE-307.
---------------------------------------
Resolution: Won't Fix
Assignee: (was: Lucene Developers)
> Lock obtain time out errors when opening readers and writers
> ------------------------------------------------------------
>
> Key: LUCENE-307
> URL: http://issues.apache.org/jira/browse/LUCENE-307
> Project: Lucene - Java
> Issue Type: Bug
> Components: Other
> Affects Versions: 1.4
> Environment: Operating System: All
> Platform: All
> Reporter: Reece (YT)
> Attachments: FSLock.java, TestLuceneLocks.java
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org