Work around non-atomic read of read of control file on ext4

Edit
Title Work around non-atomic read of read of control file on ext4
Topic Bug Fixes
Created 2022-11-24 21:50:05
Last modified 2023-02-17 04:40:20 (1 month, 1 week ago)
Latest email 2023-03-08 22:10:57 (3 weeks, 2 days ago)
Status
2023-03: Needs review
2023-01: Moved to next CF
Target version
Authors Thomas Munro (macdice)
Reviewers Anton Melnikov (antonmel)Become reviewer
Committer
Links
Emails
odd buildfarm failure - "pg_ctl: control file appears to be corrupt"
First at 2022-11-23 01:42:24 by Andres Freund <andres at anarazel.de>
Latest at 2023-03-08 22:10:57 by "Anton A. Melnikov" <aamelnikov at inbox.ru>
Latest attachment (v3-0001-Lock-pg_control-while-reading-or-writing.patch) at 2023-03-03 21:39:20 from Thomas Munro <thomas.munro at gmail.com>
    Attachment (v3-0001-Lock-pg_control-while-reading-or-writing.patch) at 2023-03-03 21:39:20 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-Lock-pg_control-while-reading-or-writing.patch) at 2023-02-17 03:21:14 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-Apply-wal_sync_method-to-pg_control-file.patch) at 2023-02-01 06:45:34 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-Lock-pg_control-while-reading-or-writing.patch) at 2023-01-31 11:38:33 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-XXX-Dirty-hack-to-clobber-control-file-for-testing.patch) at 2022-11-24 01:02:54 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
History
When Who What
2023-02-17 04:40:20 Anton Melnikov (antonmel) New status: Needs review
2023-01-31 16:34:20 vigneshwaran C (vignesh.postgres) Closed in commitfest 2023-01 with status: Moved to next CF
2023-01-31 01:11:35 Anton Melnikov (antonmel) Added antonmel as reviewer
2023-01-31 01:11:30 Anton Melnikov (antonmel) New status: Waiting on Author
2022-11-24 21:50:12 Thomas Munro (macdice) Changed authors to Thomas Munro (macdice)
2022-11-24 21:50:05 Thomas Munro (macdice) Attached mail thread 20221123014224.xisi44byq3cf5psi@awork3.anarazel.de
2022-11-24 21:50:05 Thomas Munro (macdice) Created patch record
Edit