Re: pg_rewind WAL segments deletion pitfall

Alexander Kukushkin <cyberdemn@gmail.com>

From: Alexander Kukushkin <cyberdemn@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: bungina@gmail.com, pgsql-hackers@lists.postgresql.org
Date: 2022-08-30T06:56:10Z
Lists: pgsql-bugs, pgsql-hackers

Attachments

>
>
> I did a slight modification of your script that reproduces a problem.
>
>
> ====
>

It seems that formatting damaged the script, so I better attach it as a
file.

Regards,
--
Alexander Kukushkin

Commits

  1. Fix newly introduced 010_keep_recycled_wals.pl

  2. Avoid deleting critical WAL segments during pg_rewind