Re: recovery.signal not cleaned up when both signal files are present

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: David Steele <david@pgbackrest.org>, Nikolay Samokhvalov <nik@postgres.ai>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-13T06:18:44Z
Lists: pgsql-hackers
On Fri, Feb 13, 2026 at 03:05:45PM +0900, Fujii Masao wrote:
> Yeah, so I've added the test as suggested. The updated patch is attached.


What's the point in having the check for the files in data_dir?  The
second one for standby2 should be enough as this is to test only
readRecoverySignalFile().

Except for this nit, that's OK by me.
--
Michael

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Remove recovery.signal at recovery end when both signal files are present.