Avoid blocking indefinitely while finishing walsender shutdown

Log in to edit
ID 6708
Title Avoid blocking indefinitely while finishing walsender shutdown
CI (CFBot) Summary
Stats (from CFBot) Patch version: v2, Patch count: 1, First patch: +75−8, All patches: +75−8
Tags Bugfix Logical Replication Physical Replication
Created 2026-04-23 04:55:12
Last modified 2026-05-01 03:15:36 (6 months ago)
Latest email 2026-06-03 10:32:30 (5 months ago)
Status
PG20-1 (2026-07-01 – 2026-07-31): Committed
Target version
Authors Fujii Masao (masaofujii)
Reviewers Log in to become reviewer
Committer Fujii Masao (masaofujii)
Links
Emails
Exit walsender before confirming remote flush in logical replication
First at 2022-12-22 05:46:11 by "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com>
Latest at 2026-06-03 10:32:30 by Andrey Silitskiy <a.silitskiy at postgrespro.ru>
Latest attachment (v1-0001-Fix-walsnd_shutdown_timeout-test-case.patch) at 2026-06-03 10:32:30 from Andrey Silitskiy <a.silitskiy at postgrespro.ru>
    Attachment (v1-0001-Fix-walsnd_shutdown_timeout-test-case.patch) at 2026-06-03 10:32:30 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v2-0001-Avoid-blocking-indefinitely-while-finishing-walse.patch) at 2026-04-24 10:29:08 from Fujii Masao <masao.fujii at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Avoid-blocking-indefinitely-while-finishing-walse.patch) at 2026-04-23 04:51:53 from Fujii Masao <masao.fujii at gmail.com> (Patch: Yes)
    Attachment (v10-0001-Add-wal_sender_shutdown_timeout-GUC-to-limit-shu.patch) at 2026-04-05 02:24:08 from Fujii Masao <masao.fujii at gmail.com> (Patch: Yes)
    Attachment (v9-0001-Introduce-a-new-wal_sender_shutdown_timeout-GUC.patch) at 2026-04-03 09:37:36 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v8-0001-Add-wal_sender_shutdown_timeout-GUC-to-limit-shut.patch) at 2026-04-03 06:13:39 from Fujii Masao <masao.fujii at gmail.com> (Patch: Yes)
    Attachment (v7-0001-Introduce-a-new-wal_sender_shutdown_timeout-GUC.patch) at 2026-03-30 17:31:04 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v6-0001-Introduce-a-new-wal_sender_shutdown_timeout-GUC.patch) at 2026-03-30 03:14:15 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (WalSndWaitForWal_WalSndCheckShutdownTimeout.patch) at 2026-03-29 12:34:06 from Alexander Korotkov <aekorotkov at gmail.com> (Patch: Yes)
    Attachment (v5-0001-Introduce-a-new-wal_sender_shutdown_timeout-GUC.patch) at 2026-03-15 20:52:41 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v4-0001-Introduce-a-new-wal_sender_shutdown_timeout-GUC.patch) at 2026-03-13 12:00:40 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v3-0001-Introduce-a-new-wal_sender_shutdown_timeout-GUC.patch) at 2026-03-11 14:24:05 from Alexander Korotkov <aekorotkov at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Introduce-a-new-GUC-wal_sender_shutdown_timeout.patch) at 2026-03-04 08:47:47 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v1-0001-Introduce-a-new-GUC-wal_sender_shutdown_timeout.patch) at 2026-03-03 07:08:52 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v6-0001-Introduce-a-new-GUC-wal_sender_shutdown_mode.patch) at 2026-02-01 19:52:36 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v5-0001-Introduce-a-new-GUC-wal_sender_shutdown_mode.patch) at 2026-01-28 11:27:14 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v4-0001-Introduce-a-new-GUC-wal_sender_shutdown_mode.patch) at 2026-01-21 15:11:47 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v3-0001-Introduce-a-new-GUC-wal_sender_shutdown_mode.patch) at 2026-01-17 15:46:24 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v2-0001-Introduce-a-new-GUC-wal_sender_shutdown_mode.patch) at 2025-11-27 10:19:13 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (0001-Introduce-a-new-GUC-logical_wal_sender_shutdown_mode.patch) at 2025-11-18 10:32:01 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v7-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-10 11:54:01 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v6-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-09 10:11:10 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v5-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-08 09:47:08 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v4-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-08 08:01:24 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v3-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-07 17:08:54 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v2-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-07 16:07:07 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-07 14:41:13 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v6-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2023-02-03 12:08:48 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v5-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2023-01-19 08:37:47 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v4-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2023-01-16 11:09:24 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (test_phy.sh) at 2023-01-16 11:08:30 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: No)
    Attachment (v3-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2022-12-28 02:47:56 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v2-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2022-12-27 08:14:13 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (0001-Exit-walsender-before-confirming-remote-flush-in-log.patch) at 2022-12-22 05:46:11 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
History
When Who What
2026-05-01 03:15:36 Fujii Masao (masaofujii) Closed in commitfest PG20-1 with status: Committed
2026-05-01 03:15:36 Fujii Masao (masaofujii) Changed committer to masaofujii
2026-04-23 04:55:12 Fujii Masao (masaofujii) Attached mail thread TYAPR01MB586668E50FC2447AD7F92491F5E89@TYAPR01MB5866.jpnprd01.prod.outlook.com
2026-04-23 04:55:12 Fujii Masao (masaofujii) Created patch record
Log in to edit