lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2627) MMapDirectory chunking is buggy
Date Fri, 27 Aug 2010 20:36:55 GMT

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

Uwe Schindler commented on LUCENE-2627:
---------------------------------------

Thanks Robert for investigating! I was wondering why I have never seen this error with my
10 Gig CFS file and MMapDir - it just happens on exact multiples of 2^31 :-)

But we should fix this for 2.9 and 3.0, too - its easy. Maybe we have another release (we
also have the NRQ bug)

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


Mime
View raw message