[
https://issues.apache.org/jira/browse/SOLR-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146727#comment-14146727
]
Yonik Seeley commented on SOLR-6551:
------------------------------------
After a really quick look, it looks like "logs" is guarded by
synchronized(this) (the UpdateLog monitor), and getTotalLogsSize() uses
synchronized(logs). So it should be an easy fix, but as mentioned above, we
should make some tests fail w/o the fix first...
> ConcurrentModificationException in UpdateLog
> --------------------------------------------
>
> Key: SOLR-6551
> URL: https://issues.apache.org/jira/browse/SOLR-6551
> Project: Solr
> Issue Type: Bug
> Reporter: Noble Paul
> Assignee: Noble Paul
>
> {code}
> null:java.util.ConcurrentModificationException
> at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
> at java.util.LinkedList$ListItr.next(Unknown Source)
> at
> org.apache.solr.update.UpdateLog.getTotalLogsSize(UpdateLog.java:199)
> at
> org.apache.solr.update.DirectUpdateHandler2.getStatistics(DirectUpdateHandler2.java:871)
> at
> org.apache.solr.handler.admin.SolrInfoMBeanHandler.getMBeanInfo(SolrInfoMBeanHandler.java:159)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]