Skip to content

Fallback provider for 5XX errors #1567

Answered by ricmoo
mrwillis asked this question in Q&A
May 15, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

A backend returning a 500 is just another failure from the FallbackProvider’s point of view, so its result is ignored. As long as there is enough correct data from the other backends for the FallbackProvider to work with, it will keep on trucking. :)

If you only have 2 backends and you have set the quorum to 2 though, they must both return the same result. You have to consider your quorum (how many must agree) with how many backends you are connecting too.

Make sense? :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mrwillis
Comment options

@ricmoo
Comment options

@ricmoo
Comment options

Answer selected by mrwillis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants