Fix end-of-wal detection

Edit
Title Fix end-of-wal detection
Topic Bug Fixes
Created 2023-09-03 22:33:11
Last modified 2023-09-22 23:24:15 (8 months, 3 weeks ago)
Latest email 2023-09-26 00:34:56 (8 months, 3 weeks ago)
Status
2023-09: Committed
Target version
Authors Michael Paquier (michael-kun), Thomas Munro (macdice)
Reviewers Become reviewer
Committer Thomas Munro (macdice)
Links
Emails
BUG #17928: Standby fails to decode WAL on termination of primary
First at 2023-05-11 08:00:01 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2023-09-26 00:34:56 by Michael Paquier <michael at paquier.xyz>
Latest attachment (0001-Fix-edge-case-for-xl_tot_len-missed-by-bae868ca.patch) at 2023-09-25 05:05:03 from Thomas Munro <thomas.munro at gmail.com>
    Attachment (0001-Fix-edge-case-for-xl_tot_len-missed-by-bae868ca.patch) at 2023-09-25 05:05:03 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-Revert-Optimize-WAL-insertion-lock-acquisition-and-r.patch) at 2023-09-25 03:29:54 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (0001-Don-t-use-Q-in-Perl-pack-strings.patch) at 2023-09-23 01:07:06 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v8-0001-Don-t-trust-unvalidated-xl_tot_len.patch) at 2023-09-19 22:51:12 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v7-0001-Don-t-trust-unvalidated-xl_tot_len.patch) at 2023-09-19 09:25:34 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v6-0001-Don-t-trust-unvalidated-xl_tot_len.patch) at 2023-09-12 01:01:21 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v5-0001-Don-t-trust-unvalidated-xl_tot_len.backpatch12) at 2023-09-05 03:19:46 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v5-0001-Don-t-trust-unvalidated-xl_tot_len.backpatch15) at 2023-09-04 03:20:31 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v4-0001-Add-TAP-tests-for-end-of-WAL-conditions.patch) at 2023-09-03 05:43:57 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v3-0001-Add-TAP-tests-for-end-of-WAL-conditions.patch) at 2023-09-02 01:29:39 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v2-0001-Add-TAP-tests-for-end-of-WAL-conditions.patch) at 2023-08-20 23:32:39 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (0001-Add-TAP-tests-for-end-of-WAL-conditions.patch) at 2023-08-16 03:29:49 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-Add-test-to-emulate-random-garbage-data-during-WAL-r.patch) at 2023-08-15 06:11:16 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (0001-Don-t-trust-unvalidated-xl_tot_len-v12.patch) at 2023-08-14 10:28:54 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (write_finalize_tot_len.diff) at 2023-07-11 06:54:14 from Kyotaro Horiguchi <horikyota.ntt at gmail.com> (Patch: Yes)
    Attachment (xl_tot_len-validate-v1.patch) at 2023-07-10 20:00:12 from Noah Misch <noah at leadboat.com> (Patch: Yes)
    Attachment (099_restart_with_stanby.pl) at 2023-05-11 18:00:00 from Alexander Lakhin <exclusion at gmail.com> (Patch: No)
History
When Who What
2023-09-22 23:24:15 Thomas Munro (macdice) Closed in commitfest 2023-09 with status: Committed
2023-09-22 23:24:15 Thomas Munro (macdice) Changed committer to macdice
2023-09-07 07:49:49 Michael Paquier (michael-kun) New status: Ready for Committer
2023-09-03 22:33:28 Thomas Munro (macdice) Changed authors to Michael Paquier (michael-kun), Thomas Munro (macdice)
2023-09-03 22:33:11 Thomas Munro (macdice) Attached mail thread 17928-aa92416a70ff44a2@postgresql.org
2023-09-03 22:33:11 Thomas Munro (macdice) Created patch record
Edit