You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2008/01/20 18:06:34 UTC

[jira] Resolved: (LUCENE-1143) DocumentsWriter.abort fails to clear docStoreOffset

     [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: [jira] Resolved: (LUCENE-1143) DocumentsWriter.abort fails to clear docStoreOffset

Posted by Michael McCandless <lu...@mikemccandless.com>.
Thank you for bearing with me!

Mike

Michael Busch wrote:

> Michael McCandless (JIRA) wrote:
>>      [ 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!
>>
>
>
> Yep will do! Thanks for the quick fixes, Mike!!
>
> -Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucen


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: [jira] Resolved: (LUCENE-1143) DocumentsWriter.abort fails to clear docStoreOffset

Posted by Michael Busch <bu...@gmail.com>.
Michael McCandless (JIRA) wrote:
>      [ 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!
> 


Yep will do! Thanks for the quick fixes, Mike!!

-Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org