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

Micronaut Circuitbreaker in HALF_OPEN state is sending multiple requests to downstream. #11485

Open
vmanish-vonage opened this issue Jan 6, 2025 · 0 comments

Comments

@vmanish-vonage
Copy link

vmanish-vonage commented Jan 6, 2025

Expected Behavior

When the Micronaut CircuitBreaker is in the HALF_OPEN state, it should send a single request to the downstream service (As per documentation) in order to assess whether the circuit should be fully opened or closed. This behavior helps decide if the downstream system is operational again.

Actual Behaviour

In the HALF_OPEN state, the CircuitBreaker sends lot of requests to the downstream service. Around 1/3rd of the TPS as observed by our team.

Steps To Reproduce

  1. Set up a Micronaut application with a CircuitBreaker configured.
  2. Simulate a failure condition that causes the circuit to open.
  3. Wait for the CircuitBreaker to enter the HALF_OPEN state.
  4. Observe that it sends multiple probing requests to the downstream.

Environment Information

OS: Linux
JDK: 21

Example Application

No response

Version

4.6.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant