Re: Fix archive restore race that could unlink WAL before rename

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Neil Chen <carpenter(dot)nail(dot)cz(at)gmail(dot)com>, Stepan Neretin <slpmcf(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix archive restore race that could unlink WAL before rename
Date: 2026-08-05 11:07:02
Message-ID: F918CCBD-D6B8-4C47-B005-D8B0EFDCFE60@yandex-team.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 5 Aug 2026, at 15:12, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> there is no point in including the test at all

There's no point in committing the test. There is a point in writing
test to demonstrate and describe bug with the test. That's why I
recommend writing test in a separate patch.

> One thing that may be worth adding is a mention that we care about
> concurrent WAL senders

+1.

Best regards, Andrey Borodin.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-08-05 11:17:06 Re: CREATE SUBSCRIPTION ... SERVER vs. pg_dump, etc.
Previous Message Bertrand Drouvot 2026-08-05 11:05:33 Re: pgstat: Flush some statistics within running transactions, take 2