Possible race condition in pg_basebackup

Edit
ID 7233
Title Possible race condition in pg_basebackup
CI (CFBot) Summary
Stats (from CFBot) Patch version: v3, Patch count: 2, First patch: +133−0, All patches: +178−36
Tags Bugfix
Created 2026-08-31 12:32:48
Last modified 2026-08-31 12:32:49 (2 weeks ago)
Latest email 2026-09-19 13:50:00 (yesterday)
Status
PG20-2 (2026-09-01 – 2026-09-30): Ready for Committer
Target version 20
Authors nick ivanov (nivanov)
Reviewers Shashishekar Hullahally Anantharamu (shashi.h.ananth.gmail.com) Become reviewer
Committer
Links
Emails
Possible race condition in pg_basebackup
First at 2026-08-21 10:30:29 by Nick Ivanov <nick.ivanov at enterprisedb.com>
Latest at 2026-09-19 13:50:00 by Nick Ivanov <nick.ivanov at enterprisedb.com>
Latest attachment (v3-0001-Test-WAL-retention-before-pg_basebackup-starts-st.patch) at 2026-09-15 18:29:02 from Andrey Borodin <x4mmm at yandex-team.ru>
    Attachment (v3-0001-Test-WAL-retention-before-pg_basebackup-starts-st.patch) at 2026-09-15 18:29:02 from Andrey Borodin <x4mmm at yandex-team.ru> (Patch: No)
    Attachment (v1-0002-pg_basebackup-to-create-replication-slot-early.patch) at 2026-09-11 16:25:06 from Nick Ivanov <nick.ivanov at enterprisedb.com> (Patch: No)
    Attachment (v2-0001-Fix-WAL-recycle-race-in-pg_basebackup.patch) at 2026-09-07 14:19:40 from Nick Ivanov <nick.ivanov at enterprisedb.com> (Patch: No)
    Attachment (v1-0001-Fix-WAL-recycle-race-in-pg_basebackup.patch) at 2026-08-28 18:05:43 from Nick Ivanov <nick.ivanov at enterprisedb.com> (Patch: No)
    Attachment (v1-0001-Demonstrate-WAL-recycling-race-in-pg_basebackup-cre.patch) at 2026-08-25 06:32:47 from Andrey Borodin <x4mmm at yandex-team.ru> (Patch: No)
History
When Who What
2026-09-18 03:02:41 Shashishekar Hullahally Anantharamu (shashi.h.ananth.gmail.com) Posted review with messageid <178970056161.1097.10980781935869625049.pgcf@coridan.postgresql.org>
2026-09-18 03:02:41 Shashishekar Hullahally Anantharamu (shashi.h.ananth.gmail.com) New status: Ready for Committer
2026-09-13 03:07:58 Shashishekar Hullahally Anantharamu (shashi.h.ananth.gmail.com) Added shashi.h.ananth.gmail.com as reviewer
2026-09-07 14:34:33 CFbot Patch does not need rebase anymore
2026-08-31 12:51:26 CFbot Patch needs rebase
2026-08-31 12:32:49 nick ivanov (nivanov) Attached mail thread CALP_NYTTvKzJ+chEUXLsyGaM+HYcP1WwGwXkZEnDfv-7FbPowQ@mail.gmail.com
2026-08-31 12:32:48 nick ivanov (nivanov) Created patch record
Edit