You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steven Parkes (JIRA)" <ji...@apache.org> on 2007/03/23 22:02:32 UTC

[jira] Updated: (LUCENE-846) IOExeception can cause loss of data due to premature segment deletion

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

Steven Parkes updated LUCENE-846:
---------------------------------

    Attachment: LUCENE-846-test.txt

Okay, here's an old version of 847 that demonstrates the problem (at least it does for me.)

No looking at the rest of my half-baked code.

And there's a bunch of debugging turned on in the patch, too.

> IOExeception can cause loss of data due to premature segment deletion
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-846
>                 URL: https://issues.apache.org/jira/browse/LUCENE-846
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>            Reporter: Steven Parkes
>         Assigned To: Michael McCandless
>         Attachments: LUCENE-846-test.txt
>
>
> If you hit an IOException, e.g., disk full, while making a cfs from its constituent parts, you may not be able to rollback to the before-merge process. This happens via addIndexes.
> I don't have a nice easy test for this; generating IOEs ain't so easy. But it does happen in the patch for the factored merge policy with the existing tests because the pseudo-randomly generated IOEs fall in a different place.

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