OpenSearch/x-pack/plugin/frozen-indices/src
Benjamin Trent 15aba60c02
[7.x] Add new circuitbreaker plugin and refactor CircuitBreakerService (#55695) (#57359)
* Add new circuitbreaker plugin and refactor CircuitBreakerService (#55695)

This commit lays the ground work for plugins supplying their own circuit breakers.

It adds a new interface: `CircuitBreakerPlugin`.

This interface provides methods for providing custom child CircuitBreaker objects. There are also facilities for allowing dynamic settings for the custom breakers.

With the refactor, circuit breakers are no longer replaced on setting changes. Instead, the two mutable settings themselves are `volatile`. Plugins that want to use their custom circuit breaker should keep a reference of their constructed breaker.
2020-05-29 12:13:46 -04:00
..
main/java/org/elasticsearch Allow searching of snapshot taken while indexing (#55511) 2020-04-21 13:21:38 +01:00
test/java/org/elasticsearch/index/engine [7.x] Add new circuitbreaker plugin and refactor CircuitBreakerService (#55695) (#57359) 2020-05-29 12:13:46 -04:00