Files
patroni/tests
Ants AasmaandGitHub 0980838cb3 Fix port in use error on certificate replacement (#2185)
When switching certificates there is a race condition with a concurrent API request. If there is one active during the replacement period then the replacement will error out with a port in use error and Patroni gets stuck in a state without an active API server.

Fix is to call server_close after shutdown which will wait for already running requests to complete before returning.

Close #2184
2022-01-26 13:52:25 +01:00
..
2021-12-03 15:49:57 +01:00
2021-12-03 15:49:57 +01:00
2022-01-06 10:20:31 +01:00
2022-01-06 10:20:31 +01:00
2022-01-06 10:20:31 +01:00