Fix race between WAL flush and InstallXLogFileSegment()

Edit
ID 5276
Title Fix race between WAL flush and InstallXLogFileSegment()
Topic Bug Fixes
Created 2024-09-27 23:59:29
Last modified 2024-09-27 23:59:45 (1 month, 1 week ago)
Latest email 2024-10-31 08:03:06 (5 days, 7 hours ago)
Status
2024-11: Needs review
Target version
Authors Thomas Munro (macdice)
Reviewers Soumyadeep Chakraborty (soumyadeepc)Become reviewer
Committer
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/5276
git checkout commitfest/cf/5276
Emails
InstallXLogFileSegment() vs concurrent WAL flush
First at 2024-02-02 10:18:18 by Thomas Munro <thomas.munro at gmail.com>
Latest at 2024-10-31 08:03:06 by Soumyadeep Chakraborty <soumyadeep2007 at gmail.com>
Latest attachment (v3-0001-InstallXLogFileSegment-vs-concurrent-WAL-flush.patch) at 2024-10-31 08:03:06 from Soumyadeep Chakraborty <soumyadeep2007 at gmail.com>
    Attachment (v3-0001-InstallXLogFileSegment-vs-concurrent-WAL-flush.patch) at 2024-10-31 08:03:06 from Soumyadeep Chakraborty <soumyadeep2007 at gmail.com> (Patch: Yes)
    Attachment (fix_InstallXLogFileSegment_in_another_way.patch) at 2024-02-02 11:56:08 from Yugo NAGATA <nagata at sraoss.co.jp> (Patch: Yes)
    Attachment (0001-Fix-InstallXLogFileSegment-concurrency-bug.patch) at 2024-02-02 10:18:18 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
History
When Who What
2024-10-27 17:38:48 Soumyadeep Chakraborty (soumyadeepc) Added soumyadeepc as reviewer
2024-09-27 23:59:45 Thomas Munro (macdice) Changed authors to Thomas Munro (macdice)
2024-09-27 23:59:29 Thomas Munro (macdice) Attached mail thread CA+hUKGLO02j2WLiQ73iZ+CEY1G+LPmHo3PXaYTaFY9Hj222mEQ@mail.gmail.com
2024-09-27 23:59:29 Thomas Munro (macdice) Created patch record
Edit