lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-2730) intermittent deadlock in TestAtomicUpdate,TestIndexWriterExceptions
Date Sun, 31 Oct 2010 13:23:23 GMT


Michael McCandless commented on LUCENE-2730:

bq. In my opinion we should remove the stupid synchronized in TermsHash completely (also trunk
and 3.x, I removed at least the compact()-sync). This class needs no sync.

We have to be somewhat careful w/ this.

Eg in 2.9.x/3.0.x some of the sync is needed because IW calls freeRAM "freely", ie, while
other threads are indexing.  IW still calls freeRAM in 3.x/4.0, but it's a no-op there since
we don't recycle RAM as aggressively anymore.  So likely we could remove sync from TermsHash
on 3.x/trunk, but let's do that another day...

> intermittent deadlock in TestAtomicUpdate,TestIndexWriterExceptions
> -------------------------------------------------------------------
>                 Key: LUCENE-2730
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.9.3, 3.0.2
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 2.9.4, 3.0.3
>         Attachments: LUCENE-2730.patch
> While backporting issues for 2.9.x/3.0.x release I hit deadlocks in these two tests,
under both test-core and test-tag.

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