-
Notifications
You must be signed in to change notification settings - Fork 146
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
FR: backup servers in the server list #636
Comments
We started evaluating pgcat recently and came looking for this feature too. Similarly, we have various out-of-region replicas that we would like to include as servers but not be part of the usual rotation (for latency sake), unless absolutely necessary. There is also the potential for standby primary instances that would be good to fallback to. Right now, it looks like we'd have to layer HAProxys (for their |
Is your feature request related to a problem? Please describe.
I'd like to contain traffic within each data center, and only use other servers if all local peers are banned via health check.
Describe the solution you'd like
Describe alternatives you've considered
I'd like to see an option that would mark server as backup, similar to
server ... backup
in nginx/haproxy. Such server would not receive traffic unless all other servers are banned. It might be an extra option added to aservers
item, it might be separate array with similar structure.Additional context
—
The text was updated successfully, but these errors were encountered: