Files
pgcat/tests/ruby
Mostafa Abdelraouf 2cc6a09fba Add Manual host banning to PgCat (#340)
Sometimes we want an admin to be able to ban a host for some time to route traffic away from that host for reasons like partial outages, replication lag, and scheduled maintenance.

We can achieve this today using a configuration update but a quicker approach is to send a control command to PgCat that bans the replica for some specified duration.

This command does not change the current banning rules like

Primaries cannot be banned
When all replicas are banned, all replicas are unbanned
2023-03-06 06:10:59 -06:00
..
2023-03-02 12:14:10 -05:00
2022-08-30 09:14:53 -07:00
2022-08-30 09:14:53 -07:00
2022-08-30 09:14:53 -07:00