You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2010/01/29 17:16:35 UTC

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

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
            Reporter: Simon Willnauer


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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


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

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer updated LUCENE-2239:
------------------------------------

    Attachment: LUCENE-2239.patch

This patch adds documentation to NIOFSDirectory and provides a testcase triggering the behavior. this might be little out of date now but I thought I add it for completeness

> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


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

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer updated LUCENE-2239:
------------------------------------

          Component/s: Store
    Affects Version/s: 2.4
                       2.4.1
                       2.9
                       2.9.1
                       3.0

> 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
>
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806387#action_12806387 ] 

Mark Miller commented on LUCENE-2239:
-------------------------------------

IMO, unless we see more reports where this is causing an issue, we just leave things as they are by default, with javadoc explaining the issue. We can introduce a windows deletion policy that can be used if you need it, but I don't see why it would need to be used as a default. I don't think many Lucene threads are being interrupted out there - we have seen no other reports and its now the non windows default in both Lucene and Solr.

> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org