We're looking at using our existing Fabio deployment to load balance a Patroni. Patroni's health checks return HTTP success when the node is the master and return HTTP errors when a node is a standby.
When a fail over occurs we need to terminate the existing TCP connections so they connect to the new master. In HAproxy this can be accomplished by the on-marked-down shutdown-sessions config setting.
We're looking at using our existing Fabio deployment to load balance a Patroni. Patroni's health checks return HTTP success when the node is the master and return HTTP errors when a node is a standby.
When a fail over occurs we need to terminate the existing TCP connections so they connect to the new master. In HAproxy this can be accomplished by the on-marked-down shutdown-sessions config setting.
Does Fabio support something like this?