Re: odd buildfarm failure - "pg_ctl: control file appears to be corrupt"
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: David Steele <david@pgmasters.net>, Stephen Frost <sfrost@snowman.net>, Daniel Gustafsson <daniel@yesql.se>, "Anton A. Melnikov" <aamelnikov@inbox.ru>, Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-10-12T01:10:04Z
Lists: pgsql-hackers
On Thu, Oct 12, 2023 at 12:25:34PM +1300, Thomas Munro wrote: > I'm planning to push 0002 (retries in frontend programs, which is > where this thread began) and 0004 (add missing locks to SQL > functions), including back-patches as far as 12, in a day or so. > > I'll abandon the others for now, since we're now thinking bigger[1] > for backups, side stepping the problem. FWIW, 0003 looks like a low-risk improvement seen from here, so I'd be OK to use it at least for now on HEAD before seeing where the other discussions lead. 0004 would be OK if applied to v11, as well, but I also agree that it is not a big deal to let this branch be as it is now at this stage if you feel strongly this way. -- Michael
Commits
-
Try to handle torn reads of pg_control in frontend.
- 63a582222c6b 17.0 landed
- 43c979086825 12.17 landed
- 67060be3df34 13.13 landed
- dc75748a918e 14.10 landed
- 5e39884d322a 15.5 landed
- 5725e4ebe7a9 16.1 landed
-
Acquire ControlFileLock in relevant SQL functions.
- f1634c968101 11.22 landed
- 637e86ecc5e4 12.17 landed
- ae9da357bd6d 13.13 landed
- a56fe5cf07fe 14.10 landed
- 606be8a35d97 15.5 landed
- 2371432cd6b9 16.1 landed
- c558e6fd92ff 17.0 landed