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/28 00:54:53 UTC

[jira] Resolved: (LUCENE-2627) MMapDirectory chunking is buggy

     [ https://issues.apache.org/jira/browse/LUCENE-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-2627.
---------------------------------

    Fix Version/s: 2.9.4
                   3.0.3
                   3.1
                   4.0
       Resolution: Fixed

Committed revisions:

trunk: 990281
3.x: 990286
3.0: 990293
2.9: 990295

> MMapDirectory chunking is buggy
> -------------------------------
>
>                 Key: LUCENE-2627
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2627
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Store
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 2.9.4, 3.0.3, 3.1, 4.0
>
>         Attachments: LUCENE-2627.patch, LUCENE-2627_test.patch
>
>
> MMapDirectory uses chunking with MultiMMapIndexInput.
>  
> Because Java's ByteBuffer uses an int to address the
> values, it's necessary to access a file >
> Integer.MAX_VALUE in size using multiple byte buffers.
> But i noticed from the clover report the entire MultiMMapIndexInput class is completely untested: no surprise since all tests make tiny indexes.

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