You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2007/08/10 22:59:43 UTC

[jira] Created: (LUCENE-976) MMapDirectory is missing newly added openInput method to FSDirectory

MMapDirectory is missing newly added openInput method to FSDirectory
--------------------------------------------------------------------

                 Key: LUCENE-976
                 URL: https://issues.apache.org/jira/browse/LUCENE-976
             Project: Lucene - Java
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: Michael McCandless
            Assignee: Michael McCandless


This issue was caused by the optimizations in LUCENE-888.  The new
openInput(String name, int bufferSize) added to FSDirectory was not
also overridden by MMapDirectory.


-- 
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] Resolved: (LUCENE-976) MMapDirectory is missing newly added openInput method to FSDirectory

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

Michael McCandless resolved LUCENE-976.
---------------------------------------

    Resolution: Fixed

Thanks Peter!

> MMapDirectory is missing newly added openInput method to FSDirectory
> --------------------------------------------------------------------
>
>                 Key: LUCENE-976
>                 URL: https://issues.apache.org/jira/browse/LUCENE-976
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-976.patch
>
>
> This issue was caused by the optimizations in LUCENE-888.  The new
> openInput(String name, int bufferSize) added to FSDirectory was not
> also overridden by MMapDirectory.

-- 
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-976) MMapDirectory is missing newly added openInput method to FSDirectory

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

Michael McCandless updated LUCENE-976:
--------------------------------------

    Attachment: LUCENE-976.patch

Simple patch to fix this.  I also added a unit test that looks @ all
methods in FSDirectory that return IndexInput or a subclass and
asserts that MMapDirectory overrides all such methods.



> MMapDirectory is missing newly added openInput method to FSDirectory
> --------------------------------------------------------------------
>
>                 Key: LUCENE-976
>                 URL: https://issues.apache.org/jira/browse/LUCENE-976
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-976.patch
>
>
> This issue was caused by the optimizations in LUCENE-888.  The new
> openInput(String name, int bufferSize) added to FSDirectory was not
> also overridden by MMapDirectory.

-- 
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