You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/08/24 23:04:16 UTC

[jira] Commented: (LUCENE-2239) Revise NIOFSDirectory and its usage due to NIO limitations on Thread.interrupt

    [ https://issues.apache.org/jira/browse/LUCENE-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902068#action_12902068 ] 

Robert Muir commented on LUCENE-2239:
-------------------------------------

By the way, seems like this affects MMapDirectory too.

ant test-core -Dtestcase=TestIndexWriter -Dtestmethod=testThreadInterruptDeadlock -Dtests.directory=MMapDirectory

{noformat}
    [junit] ------------- Standard Output ---------------
    [junit] FAILED; unexpected exception
    [junit] java.nio.channels.ClosedByInterruptException
    [junit]     at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184)
    [junit]     at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:772)
{noformat}


> Revise NIOFSDirectory and its usage due to NIO limitations on Thread.interrupt
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-2239
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2239
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: Store
>    Affects Versions: 2.4, 2.4.1, 2.9, 2.9.1, 3.0
>            Reporter: Simon Willnauer
>         Attachments: LUCENE-2239.patch
>
>
> I created this issue as a spin off from http://mail-archives.apache.org/mod_mbox/lucene-java-dev/201001.mbox/%3Cf18c9dde1001280051w4af2bc50u1cfd55f85e50914f@mail.gmail.com%3E
> We should decide what to do with NIOFSDirectory, if we want to keep it as the default on none-windows platforms and how we want to document this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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