Skip to content

Conversation

@danielmitterdorfer
Copy link
Member

We emit a debug log message whenever a child circuit breaker trips (in
ChildMemoryCircuitBreaker#circuitBreak(String, long)) but we never
emit a log message when the parent circuit breaker trips. As this is
more likely to happen with the real memory circuit breaker it is not
possible to detect this in the logs. With this commit we add a log
message on the same log level (debug) when the parent circuit breaker
trips.

We emit a debug log message whenever a child circuit breaker trips (in
`ChildMemoryCircuitBreaker#circuitBreak(String, long)`) but we never
emit a log message when the parent circuit breaker trips. As this is
more likely to happen with the real memory circuit breaker it is not
possible to detect this in the logs. With this commit we add a log
message on the same log level (debug) when the parent circuit breaker
trips.
@danielmitterdorfer danielmitterdorfer added :Core/Infra/Circuit Breakers Track estimates of memory consumption to prevent overload backport labels Sep 25, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@danielmitterdorfer danielmitterdorfer merged commit 48df560 into elastic:7.x Sep 25, 2019
@danielmitterdorfer danielmitterdorfer deleted the log-parent-breaker-trips-7x branch September 25, 2019 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Core/Infra/Circuit Breakers Track estimates of memory consumption to prevent overload

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants