Nick Ginther created SOLR-17343:
-----------------------------------
Summary: Live-updating Global Circuit Breakers via
ClusterProperties
Key: SOLR-17343
URL: https://issues.apache.org/jira/browse/SOLR-17343
Project: Solr
Issue Type: New Feature
Affects Versions: 9.6.1
Reporter: Nick Ginther
Global rate limiting was added via environment variables and system properties
in SOLR-16974. This was implemented via environment variables that are
evaluated at Solr startup. The implementation results in global circuit
breakers that are static until the Solr process restarts. It would be useful to
be able to dynamically update circuit breakers while Solr is running for two
reasons.
# Cluster load may change in such a way that it is useful to raise or lower
circuit breaker thresholds, or add/remove circuit breakers
# Experimenting with circuit breaker thresholds and types is much easier
For these reasons, this issue proposes the following changes:
# Add a ClusterProps field that describes cluster-level global circuit breakers
## One global circuit breaker per-class, with a query and update threshold
## The ability to override these values at the node level
# Add a ClusterProps command `set-circuit-breakers` to set this ClusterProps
field via the v2 API
# Implement a global circuit breaker manager that handles ClusterProps changes
by updating / adding / removing circuit breakers based on changes in
configuration
# ClusterProps-based circuit breakers override any environment-variable based
global circuit breakers for ease of circuit breaker management
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]