Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit log message when parent circuit breaker trips (#47000) #47073

Merged

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