Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael@paquier.xyz>, Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-04-08T23:56:08Z
Lists: pgsql-hackers
Hi, On 2022-04-08 17:55:51 -0400, Tom Lane wrote: > After seeing skink's results, I tried running that test under valgrind > here, and it fails just like that every time. skink's history allows > us to bound the failure introduction between 79b716cfb7 and > d7ab2a9a3c, which I think makes it just about certain that it was > 5dc0418fab (Prefetch data referenced by the WAL, take II), though I've > not bisected to be 100% sure. I've tested it, it's 5dc0418fab that makes the difference. I reduced the cycle time by making initdb not go through valgrind, but have normal postgres instances go through it. > On the whole, I'm not sure that the WAL prefetch logic is noticeably > more stable than when we booted it out last year :-(. IDK. Last year's issues seems to have largely been caused by a flaky machine. And a bug, if it's that, in some archiving corner case that's not normally reached during tests... Greetings, Andres Freund
Commits
-
Fix second race condition in 002_archiving.pl with archive_cleanup_command
- 1a8b110539ef 15.0 landed
-
Fix race in TAP test 002_archiving.pl when restoring history file
- 4751a13b63de 11.16 landed
- a57399d70c7a 12.11 landed
- a6fc64b9a85e 13.7 landed
- 8bcf90c7a67c 14.3 landed
- e61efafcb82c 15.0 landed
-
Don't retry restore_command while reading ahead.
- acf1dd42342d 15.0 landed
-
Add TAP test for archive_cleanup_command and recovery_end_command
- 46dea2419ee7 15.0 cited