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

What is different between the InstanceIsolationRequestHandler and CircuitBreakerRequestHandler #1456

Closed
longweiwork opened this issue Mar 4, 2024 · 2 comments
Assignees
Labels
area/plugin Issues or PRs releated to sermant plugin service kind/question Further information is requested Stale

Comments

@longweiwork
Copy link

What do you want to ask?

When I add some circuitbreaker config and trigger fuse, the InstanceIsolationRequestHandler will intercept request and return InstanceIsolationException, but I want to return CircuitBreakerException, so what should I do to meet my expectations. Looking forward to your answer, thanks~

@longweiwork longweiwork added the kind/question Further information is requested label Mar 4, 2024
@hanbingleixue
Copy link
Collaborator

The instance isolation priority is greater than the circuit breaker priority, so the InstanceIsolation RequestHandler intercepts the request and ultimately returns an InstanceIsolation Exception. Therefore, it is currently not supported to modify the returned exception to a Circuit BreakerException through configuration or other means.

@hanbingleixue hanbingleixue added the area/plugin Issues or PRs releated to sermant plugin service label Mar 11, 2024
@hanbingleixue hanbingleixue self-assigned this Mar 11, 2024
@github-actions github-actions bot added the Stale label Apr 9, 2024
@sermant-io sermant-io deleted a comment from github-actions bot May 20, 2024
@hanbingleixue
Copy link
Collaborator

The question has been answered. No more questions will be raised. Therefore, this issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin Issues or PRs releated to sermant plugin service kind/question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

2 participants