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 Busch (JIRA)" <ji...@apache.org> on 2008/01/11 19:19:34 UTC

[jira] Commented: (LUCENE-1130) Hitting disk full during DocumentWriter.ThreadState.init(...) can cause hang

    [ https://issues.apache.org/jira/browse/LUCENE-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558054#action_12558054 ] 

Michael Busch commented on LUCENE-1130:
---------------------------------------

{quote}
and I think we should also push this fix into a 2.3 RC3 (Michael?).
{quote}

Yes. We have a disk full test scenario in our project and I'll test 
RC2 + your patch today!

I think we should definitely push this into 2.3. I'll build RC3 after
I finished the tests and you committed it.

> Hitting disk full during DocumentWriter.ThreadState.init(...) can cause hang
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-1130
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1130
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.3
>
>         Attachments: LUCENE-1130.patch
>
>
> More testing of RC2 ...
> I found one case, if you hit disk full during init() in
> DocumentsWriter.ThreadState, when we first create the term vectors &
> fields writer, such that subsequent calls to
> IndexWriter.add/updateDocument will then hang forever.
> What's happening in this case is we are incrementing nextDocID even
> though we never call finishDocument (because we "thought" init did not
> succeed).  Then, when we finish the next document, it will never
> actually write because missing finishDocument call never happens.

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