Re: pg_rewind WAL segments deletion pitfall

From: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
To: Antonin Houska <ah(at)cybertec(dot)at>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Sutou Kouhei <kou(at)clear-code(dot)com>, smithpb2250(at)gmail(dot)com, torikoshia(at)oss(dot)nttdata(dot)com, horikyota(dot)ntt(at)gmail(dot)com, michael(at)paquier(dot)xyz, pgsql-hackers(at)postgresql(dot)org, bungina(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pg_rewind WAL segments deletion pitfall
Date: 2024-11-21 10:42:13
Message-ID: CAFh8B=kVY4q7Qu87YtEfBLqGNxfNNiJaN9cmtyTdp5ww69JFmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Thu, 21 Nov 2024 at 06:43, Antonin Houska <ah(at)cybertec(dot)at> wrote:

> When doing some unrelated work I noticed that in the new test
> 010_keep_recycled_wals.pl the server fails to reload the configuration
> file. The line it complains about is
>
> archive_command = '/usr/bin/perl -e 'exit(1)''
>
> The test still succeeds for some reason.
>

Oh, nice catch.

The attached patch should address it.

--
Regards,
--
Alexander Kukushkin

Attachment Content-Type Size
010_keep_recycled_wals.pl.patch text/x-patch 602 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Erki Eessaar 2024-11-21 11:46:45 Function pg_get_constraintdef
Previous Message PG Bug reporting form 2024-11-21 10:35:47 BUG #18719: Bug Report for Patch (For inplace update durability, make heap_update() callers wait)

Browse pgsql-hackers by date

  From Date Subject
Next Message Jakub Wartak 2024-11-21 10:44:26 Windows pg_basebackup unable to create >2GB pg_wal.tar tarballs ("could not close file: Invalid argument" when creating pg_wal.tar of size ~ 2^31 bytes)
Previous Message Alvaro Herrera 2024-11-21 10:41:18 Re: Make COPY format extendable: Extract COPY TO format implementations