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

David Smiley updated LUCENE-2726:
---------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> simulate disk fulls in copyBytes
> --------------------------------
>
>                 Key: LUCENE-2726
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2726
>             Project: Lucene - Core
>          Issue Type: Test
>          Components: general/build
>            Reporter: Robert Muir
>             Fix For: 4.8
>
>         Attachments: LUCENE-2726.patch
>
>
> In LUCENE-2637, i disabled copyBytes optimization (so it just calls 
> writeBytes), but i mentioned there,
> that I think it would be good to try to beef up tests if we ever wanted to 
> have an optimization like this.
> the problem was that when there was an index corruption bug, it was very 
> difficult to detect with our tests.
> So I think for safety, we should do this, even though its redundant with our 
> current impl, since we look
> for this in writeBytes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to