You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/11/05 15:13:33 UTC
[jira] [Updated] (SOLR-6685) ConcurrentModificationException in
Overseer Stats API
[ https://issues.apache.org/jira/browse/SOLR-6685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-6685:
----------------------------------------
Attachment: SOLR-6685.patch
This patch changes the Stats map to be a ConcurrentHashMap and gets rid of the (inconsistent) synchronized blocks in the Stats methods. Synchronization is not required for iteration anymore. I found that failureDetails was being iterated without synchronization in OCP.getOverseerStatus.
> ConcurrentModificationException in Overseer Stats API
> -----------------------------------------------------
>
> Key: SOLR-6685
> URL: https://issues.apache.org/jira/browse/SOLR-6685
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.10.1
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: 5.0, Trunk
>
> Attachments: SOLR-6685.patch
>
>
> I just found a concurrent modification exception in OverseerCollectionProcessor while iterating over the overseer stats. The iteration should be synchronized.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org