[
https://issues.apache.org/jira/browse/SOLR-6846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Avishai Ish-Shalom updated SOLR-6846:
-------------------------------------
Attachment: solr-uninvertedfield-cache.patch
A patch using a single synchronized block and no .wait() calls. should be free
of deadlocks.
> deadlock in UninvertedField#getUninvertedField()
> ------------------------------------------------
>
> Key: SOLR-6846
> URL: https://issues.apache.org/jira/browse/SOLR-6846
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 4.10.2
> Reporter: Avishai Ish-Shalom
> Attachments: solr-uninvertedfield-cache.patch
>
>
> Multiple concurrent calls to UninvertedField#getUninvertedField may deadlock:
> if a call gets to {{cache.wait()}} before another thread gets to the
> synchronized block around {{cache.notifyAll()}} code will deadlock because
> {{cache.wait()}} is synchronized with the same monitor object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]