race condition when writing pg_control

Edit
ID 2552
Title race condition when writing pg_control
Topic Bug Fixes
Created 2020-05-05 18:36:23
Last modified 2020-06-11 18:54:00 (4 years, 4 months ago)
Latest email 2024-07-30 23:54:55 (2 months, 1 week ago)
Status
2020-07: Committed
Target version
Authors Nathan Bossart (bossartn)
Reviewers Become reviewer
Committer Thomas Munro (macdice)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/2552
git checkout commitfest/cf/2552
Emails
race condition when writing pg_control
First at 2020-05-04 17:44:21 by "Bossart, Nathan" <bossartn at amazon.com>
Latest at 2024-07-30 23:54:55 by Noah Misch <noah at leadboat.com>
Latest attachment (v1-0001-Fix-pg_control-corruption-in-EXEC_BACKEND-startup.patch) at 2024-05-18 05:29:12 from Thomas Munro <thomas.munro at gmail.com>
    Attachment (v1-0001-Fix-pg_control-corruption-in-EXEC_BACKEND-startup.patch) at 2024-05-18 05:29:12 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0003-Assert-that-ControlFileLock-is-held-within-UpdateCon.patch) at 2020-05-31 21:11:35 from "Bossart, Nathan" <bossartn at amazon.com> (Patch: Yes)
    Attachment (v1-0001-Assert-that-ControlFileLock-is-held-exclusively-i.patch) at 2020-05-26 19:30:54 from "Bossart, Nathan" <bossartn at amazon.com> (Patch: Yes)
    Attachment (0001-Fix-race-condition-that-could-corrupt-pg_control.patch) at 2020-05-22 04:51:47 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Prevent-race-condition-when-writing-pg_control.patch) at 2020-05-04 17:44:21 from "Bossart, Nathan" <bossartn at amazon.com> (Patch: Yes)
History
When Who What
2020-06-11 18:54:00 Nathan Bossart (bossartn) Closed in commitfest 2020-07 with status: Committed
2020-06-11 18:54:00 Nathan Bossart (bossartn) Changed committer to macdice
2020-05-05 18:36:36 Nathan Bossart (bossartn) Changed authors to Nathan Bossart (bossartn)
2020-05-05 18:36:23 Nathan Bossart (bossartn) Attached mail thread 70BF24D6-DC51-443F-B55A-95735803842A@amazon.com
2020-05-05 18:36:23 Nathan Bossart (bossartn) Created patch record
Edit