On Thu, Jan 28, 2010 at 6:38 AM, Uwe Schindler <u...@thetaphi.de> wrote:

> So I checked the code of NIOFSIndexInput, my last comment was not really 
> correct:
> NIOFSIndexInput extends SimpleFSIndexInput and that opens the RAF. In the 
> ctor RAF.getChannel() is called. The RAF keeps open until the file is closed 
> (and also the channel).
>
> So it's really simple to fix in my opinion, just call getChannel() again on 
> this exception. Because the RAF should still be open?

I think we need a definitive answer on what happens to the RAF when
the FileChannel was closed by Thread.Interrupt.  Simon can you test
this?

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to