[
https://issues.apache.org/jira/browse/SOLR-17761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Gerlowski resolved SOLR-17761.
------------------------------------
Fix Version/s: main (10.0)
9.9
Assignee: Jason Gerlowski
Resolution: Fixed
> "Global" Circuit Breakers can trigger ConcurrentModificationException on Solr
> startup
> -------------------------------------------------------------------------------------
>
> Key: SOLR-17761
> URL: https://issues.apache.org/jira/browse/SOLR-17761
> Project: Solr
> Issue Type: Bug
> Components: Circuit Breakers
> Affects Versions: main (10.0), 9.7, 9.8.1
> Reporter: Jason Gerlowski
> Assignee: Jason Gerlowski
> Priority: Major
> Labels: pull-request-available
> Fix For: main (10.0), 9.9
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> On startup, each Solr process will attempt to load each of the cores that it
> hosts (potentially in parallel). Each core gets its own
> "CircuitBreakerRegistry". And on creation, these registries attempt to
> initialize some static state representing any global circuit-breakers.
> This can lead to a race where multiple loading cores attempt to modify the
> same static state, resulting in a ConcurrentModificationException.
> We should either have CircuitBreakerRegistry use a ConcurrentHashMap, or put
> some other locking in place to make the global CB state more resilient to
> races.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]