You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/05/13 13:20:00 UTC

[jira] [Updated] (SOLR-17761) "Global" Circuit Breakers can trigger ConcurrentModificationException on Solr startup

     [ https://issues.apache.org/jira/browse/SOLR-17761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SOLR-17761:
----------------------------------
    Labels: pull-request-available  (was: )

> "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
>            Priority: Major
>              Labels: pull-request-available
>          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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org