[
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: [email protected]
For additional commands, e-mail: [email protected]