Jason Gerlowski created SOLR-17761:
--------------------------------------
Summary: "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: 9.8.1, 9.7, main (10.0)
Reporter: Jason Gerlowski
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]