[ https://issues.apache.org/jira/browse/LUCENE-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless resolved LUCENE-1143. ---------------------------------------- Resolution: Fixed Committed to trunk & 2.3. Michael can you roll a new 2.3 RC? Thanks! > DocumentsWriter.abort fails to clear docStoreOffset > --------------------------------------------------- > > Key: LUCENE-1143 > URL: https://issues.apache.org/jira/browse/LUCENE-1143 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 2.3 > > Attachments: LUCENE-1143.patch > > > I hit this in working on LUCENE-1044. > If you disk full event during flush, then DocumentsWriter will abort > (clear all buffered docs). Then, if you then add another doc or two, > and then close your writer, and this time succeed in flushing (say > because it's only a couple buffered docs so the resulting segment is > smaller), you can flush a corrupt segment (that incorrectly has a > non-zero docStoreOffset). > I modified the TestConcurrentMergeScheduler test to show this bug. > I'll attach a patch shortly. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]