Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
I was diffing the solrconfig.xml in _default and sample_techproducts_configs and saw that they had different circuitBreaker config. The one in _default uses invalid tags according to https://solr.apache.org/guide/solr/latest/deployment-guide/circuit-breakers.html#circuit-breaker-configurations
The default config attempts to enable circuit breakers, but I don't think they actually are enabled given the apparently invalid XML tags
The sample techproducts config has them commented out, but uses the correct tags
Also the documentation says to configure the breakers like this:
<str name="memEnabled">true</str> <str name="memThreshold">75</str> <str name="cpuEnabled">true</str> <str name="cpuThreshold">75</str>
But the example configs use
<memoryCircuitBreakerThresholdPct>100</memoryCircuitBreakerThresholdPct> <cpuBreaker enabled="true" threshold="75"/>
Looks like documentation is correct and the examples are wrong: https://github.com/apache/solr/blob/c99af207c761ec34812ef1cc3054eb2804b7448b/solr/core/src/java/org/apache/solr/util/circuitbreaker/CircuitBreakerManager.java#L160:L163
Attachments
Attachments
Issue Links
- links to