Re: pg_rewind WAL segments deletion pitfall
Alexander Kukushkin <cyberdemn@gmail.com>
From: Alexander Kukushkin <cyberdemn@gmail.com>
To: torikoshia <torikoshia@oss.nttdata.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, michael@paquier.xyz, pgsql-hackers@postgresql.org, bungina@gmail.com, pgsql-hackers@lists.postgresql.org
Date: 2023-11-06T14:58:56Z
Lists: pgsql-bugs, pgsql-hackers
Attachments
- v8-0001-pg_rewind-wal-deletion.patch (text/x-patch) patch v8-0001
Hi Torikoshia, On Thu, 2 Nov 2023 at 04:24, torikoshia <torikoshia@oss.nttdata.com> wrote: > > > > +extern void preserve_file(char *filepath); > > Is this necessary? > This function was defined in older version patch, but no longer seems to > exist. > > +# We use "perl -e 'exit(1)'" as a alternative to "false", because the > last one > 'a' should be 'an'? > > Thanks for the feedback Please find the new version attached. Regards, -- Alexander Kukushkin On Thu, 2 Nov 2023 at 04:24, torikoshia <torikoshia@oss.nttdata.com> wrote: > On 2023-10-31 00:26, Alexander Kukushkin wrote: > > Hi, > > > > On Wed, 18 Oct 2023 at 08:50, torikoshia <torikoshia@oss.nttdata.com> > > wrote: > > > >> I have very minor questions on the regression tests mainly regarding > >> the > >> consistency with other tests for pg_rewind: > > > > Please find attached a new version of the patch. It addresses all your > > comments. > > Thanks for updating the patch! > > > +extern void preserve_file(char *filepath); > > Is this necessary? > This function was defined in older version patch, but no longer seems to > exist. > > +# We use "perl -e 'exit(1)'" as a alternative to "false", because the > last one > 'a' should be 'an'? > > > -- > Regards, > > -- > Atsushi Torikoshi > NTT DATA Group Corporation > -- Regards, -- Alexander Kukushkin
Commits
-
Fix newly introduced 010_keep_recycled_wals.pl
- 2fb3919356fb 17.3 landed
- 50010c6f6c4d 16.7 landed
- 93d8d4fe1255 15.11 landed
- 1c5fe56bc259 14.16 landed
- b5be29ecafe1 18.0 landed
-
Avoid deleting critical WAL segments during pg_rewind
- ea1649c352f6 16.6 landed
- e28cf2fbc222 15.10 landed
- cb844d66b587 17.2 landed
- ba25358413e4 14.15 landed
- 90bcc7c2db1d 18.0 landed