PgDog version
v0.1.51
Description
When databases are added to pgdog.toml, PgDog creates the pool immediately and adds it to the load balancer, assuming those databases are reachable. If they are not, the clients will return errors temporarily while the load balancer banning logic kicks in. We can avoid this by running a health check first and only allow the database to serve traffic once it passes the initial check.
Configuration
Multiple databases, with role = "replica" or role = "auto".
PgDog version
v0.1.51Description
When databases are added to
pgdog.toml, PgDog creates the pool immediately and adds it to the load balancer, assuming those databases are reachable. If they are not, the clients will return errors temporarily while the load balancer banning logic kicks in. We can avoid this by running a health check first and only allow the database to serve traffic once it passes the initial check.Configuration
Multiple databases, with
role = "replica"orrole = "auto".