lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Parkes (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-846) IOExeception can cause loss of data due to premature segment deletion
Date Fri, 23 Mar 2007 20:33:32 GMT

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

Steven Parkes commented on LUCENE-846:
--------------------------------------

Dang. It used to fail but I've made some updates since then that would change the merge policy
(fancy that) and it's no longer happening.

Let me see if I have a snapshot lying around that has the old code where it still happens.

[As as aside, I've been thinking of looking into svk or brz (or whatever its called) that
would allow me to version control stuff without it going into svn. All of a sudden I can see
why the linux folks like distributed version control ...]

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


Mime
View raw message