Files
patroni/tests
Alexander KukushkinandGitHub 2d504a4f0a Copy the logical slot over if advance failed due to the missing WAL (#1946)
It could happen that the replica for some reason is missing the WAL file required by the replication slot.
The nature of this phenomenon is a bit unclear, it might be that the WAL was recycled short before we copied the slot file, but, we still need a solution to this problem. If the `pg_replication_slot_advance()` fails with the `UndefinedFile` exception (requested WAL segment pg_wal/... has already been removed), the logical slot on the replica must be recreated.
2021-06-02 16:57:13 +02:00
..
2021-03-25 16:18:23 +01:00
2021-03-25 16:18:23 +01:00
2021-03-25 16:18:23 +01:00
2021-03-25 16:18:23 +01:00
2021-03-25 16:18:23 +01:00
2021-03-25 16:18:23 +01:00
2020-07-30 10:33:31 +02:00
2020-04-15 12:18:49 +02:00
2021-03-25 16:18:23 +01:00