[
https://issues.apache.org/jira/browse/LUCENE-5946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir resolved LUCENE-5946.
---------------------------------
Resolution: Fixed
Fix Version/s: 5.0
> Change SimpleFSDirectory to use newByteChannel
> ----------------------------------------------
>
> Key: LUCENE-5946
> URL: https://issues.apache.org/jira/browse/LUCENE-5946
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Fix For: 5.0
>
> Attachments: LUCENE-5946.patch
>
>
> Currently our javadocs point to using SimpleFSDirectory "to avoid
> ClosedByInterruptException".
> But this is really bogus. If you interrupt() a thread doing i/o, then you
> need to be prepared for the consequences. Its just that RAF is broken and not
> interruptible at all, but that shouldnt justify us continuing to use it.
> SimpleFSDirectory should be "the most portable", so it should use
> Files.newByteChannel. And we should remove the javadocs/warnings about
> ClosedByInterrupt
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]