Files
neon/pageserver/src
Kirill Bulatov 1d0706cf25 Fix walreceiver connection selection mechanism
* Avoid reconnecting to safekeeper immediately after its failure by limiting candidates to those with fewest connection attempts. Thus we don't have to wait lagging_wal_timeout (10s by default) before switch happens even if no new changes are generated, and current test_restarts_under_load expects some commits to happen within 4s.
* Make default max_lsn_wal_lag larger, otherwise we constant reconnections happen during normal work.
* Fix wal_connection_attempts maintanance, preventing busy loop of reconnections.
2022-06-30 00:40:12 +03:00
..
2022-06-09 18:19:18 +02:00
2022-05-28 14:02:05 +03:00
2022-06-03 14:24:27 +03:00
2022-04-25 16:23:34 +03:00
2022-05-28 14:02:05 +03:00
2022-05-28 14:02:05 +03:00