Re: race condition when writing pg_control
Alexander Law <exclusion@gmail.com>
From: Alexander Lakhin <exclusion@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>, Noah Misch <noah@leadboat.com>
Cc: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>,
Nathan Bossart <nathandbossart@gmail.com>,
Melanie Plageman <melanieplageman@gmail.com>,
Michael Paquier <michael@paquier.xyz>,
Fujii Masao <masao.fujii@oss.nttdata.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-07-24T08:00:00Z
Lists: pgsql-hackers
Hello Thomas, 15.07.2024 06:44, Thomas Munro wrote: > I'm going to upgrade this to a proposal: > > https://commitfest.postgresql.org/49/5124/ > > I wonder how often this happens in the wild. Please look at a recent failure [1], produced by buildfarm animal culicidae, which tests EXEC_BACKEND. I guess it's caused by the issue discussed. Maybe it would make sense to construct a reliable reproducer for the issue (I could not find a ready-to-use recipe in this thread)... What do you think? [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=culicidae&dt=2024-07-24%2004%3A08%3A23 Best regards, Alexander
Commits
-
Fix locking bugs that could corrupt pg_control.
- 09dc17486393 9.5.23 landed
- 644cac32a0bc 9.6.19 landed
- fd11b842eba9 10.14 landed
- 48eb6a3c895d 11.9 landed
- 72766ad6397a 12.4 landed
- acefa2cca6a2 13.0 landed
- 57cb8063089a 14.0 landed