lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] [Updated] (LUCENE-4147) rollback/preparecommit thread hazard
Date Thu, 21 Jun 2012 12:19:42 GMT


Simon Willnauer updated LUCENE-4147:

    Attachment: LUCENE-4147.patch

I feared that this is gonna hang at some point. I moved the docWriter abort / close out of
the sync block in IW rollbackInternal and beasted the new test + all other tests for hours
now. I think this is fine to move that out, no need really to keep the IW lock since we already
have the commit lock in our hands. I didn't see a failure so far.
> rollback/preparecommit thread hazard
> ------------------------------------
>                 Key: LUCENE-4147
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-4147.patch, LUCENE-4147.patch, LUCENE-4147.patch, LUCENE-4147.patch,
LUCENE-4147.patch, deadlock.log, fail.log, fail.log
> found by
> rollback should never throw this exception, as it documents it clears any pendingcommits.
> but it calls closeInternal outside of any sync block, so it looks like there is a race

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message