lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Bini (JIRA)" <>
Subject [jira] Commented: (LUCENE-1208) Deadlock case in IndexWriter on exception just before flush
Date Mon, 10 Mar 2008 10:23:46 GMT


Michele Bini commented on LUCENE-1208:

As with LUCENE-1210, shouldn't the patch be committed in the 2.3 branch, too, as it affects
2.3.1? Other issues, such as the speedups in LUCENE-1211, although useful, can be left out
as they are not bugs. But fix for deadlocks seem worthwhile for 2.3.x, too.

> Deadlock case in IndexWriter on exception just before flush
> -----------------------------------------------------------
>                 Key: LUCENE-1208
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3, 2.3.1
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.4
>         Attachments: LUCENE-1208.patch
> If a document hits a non-aborting exception, eg something goes wrong
> in, and, that document had triggered a flush
> (due to RAM or doc count) then DocumentsWriter will deadlock because
> that thread marks the flush as pending but fails to clear it on
> exception.
> I have a simple test case showing this, and a fix fixing it.

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:
For additional commands, e-mail:

View raw message