[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: Fix Version/s: 4.10.3 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: 4.10.3, 5.0, Trunk Attachments: SOLR-6685.patch, 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[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 Actually the iteration of failureDetails in OCP.getOverseerStats is not required because we return a copy of the original list. 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, 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org