[
https://issues.apache.org/jira/browse/LUCENE-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926704#action_12926704
]
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: https://issues.apache.org/jira/browse/LUCENE-2730
> 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: [email protected]
For additional commands, e-mail: [email protected]