lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (LUCENE-2726) simulate disk fulls in copyBytes
Date Thu, 28 Oct 2010 13:28:22 GMT


Robert Muir updated LUCENE-2726:

    Attachment: LUCENE-2726.patch

here's a patch, uses the same logic to check as writeBytes does.

> simulate disk fulls in copyBytes
> --------------------------------
>                 Key: LUCENE-2726
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Build
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>         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 is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message