lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: java.io.IOException: Access is denied on java.io.WinNTFileSystem.createFileExclusively
Date Sun, 27 Aug 2006 16:05:31 GMT
On 8/26/06, Jason Polites <jason.polites@gmail.com> wrote:
> Synchronization at this low level would ensure that outer application layers
> would be guaranteed of IO isolation.

That still wouldn't solve two JVMs (or even two webapps) trying to
grab the same lock and getting an exception, correct?

It seems like it's possible to immediately get an IOException while
opening an IndexReader or IndexWriter w/o the wait/retry logic kicking
in.  So perhaps IOException should be caught by obtain() and false
returned (i.e. treated as a failure to aquire)?

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message