Unnecessary delay in streaming replication due to replay lag

Edit
ID 5908
Title Unnecessary delay in streaming replication due to replay lag
CI (CFBot) Needs rebase! Needs rebase since yesterday. Failing since 3 days.
Additional links previous successfully applied patch (outdated):
Summary
Stats (from CFBot) Unknown
Topic Replication & Recovery
Tags Backport Good First Review GUC Logical Replication Physical Replication
Created 2025-07-10 06:28:51
Last modified 2025-11-06 05:51:47 (2 weeks ago)
Latest email 2025-11-05 14:05:27 (2 weeks ago)
Status
PG19-3 (2025-11-01 – 2025-11-30): Ready for Committer
PG19-2 (2025-09-01 – 2025-09-30): Moved to different CF
Target version stable
Authors Sunil S (sunils26)
Reviewers Fujii Masao (masaofujii), Josef Šimánek (retro), Huansong Fu (huansong)Become reviewer
Committer
Links
Emails
Unnecessary delay in streaming replication due to replay lag
First at 2020-01-17 04:04:05 by Asim R P <apraveen at pivotal.io>
Latest at 2025-11-05 14:05:27 by sunil s <sunilfeb26 at gmail.com>
Latest attachment (v9-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2025-11-05 14:05:27 from sunil s <sunilfeb26 at gmail.com>
    Attachment (v9-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2025-11-05 14:05:27 from sunil s <sunilfeb26 at gmail.com> (Patch: Yes)
    Attachment (v8-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2025-09-11 08:51:14 from sunil s <sunilfeb26 at gmail.com> (Patch: Yes)
    Attachment (v7-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2025-07-29 09:29:35 from sunil s <sunilfeb26 at gmail.com> (Patch: Yes)
    Attachment (v6-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2025-07-08 18:31:55 from sunil s <sunilfeb26 at gmail.com> (Patch: Yes)
    Attachment (v5-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2021-12-16 01:01:24 from Soumyadeep Chakraborty <soumyadeep2007 at gmail.com> (Patch: Yes)
    Attachment (v4-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2021-11-19 08:35:04 from Soumyadeep Chakraborty <soumyadeep2007 at gmail.com> (Patch: Yes)
    Attachment (v3-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2021-11-09 23:41:09 from Soumyadeep Chakraborty <soumyadeep2007 at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Introduce-feature-to-start-WAL-receiver-eagerly.patch) at 2021-08-25 04:51:25 from Soumyadeep Chakraborty <soumyadeep2007 at gmail.com> (Patch: Yes)
    Attachment (v3-0001-Start-WAL-receiver-before-startup-process-replays.patch) at 2020-08-10 08:53:34 from Asim Praveen <pasim at vmware.com> (Patch: Yes)
    Attachment (v2-0001-Start-WAL-receiver-before-startup-process-replays.patch) at 2020-08-09 05:54:32 from Asim Praveen <pasim at vmware.com> (Patch: Yes)
    Attachment (v1-0001-Test-that-replay-of-WAL-logs-on-standby-does-not-.patch) at 2020-01-17 13:00:58 from Asim R P <apraveen at pivotal.io> (Patch: Yes)
    Attachment (0001-Test-that-replay-of-WAL-logs-on-standby-does-not-aff.patch) at 2020-01-17 04:04:05 from Asim R P <apraveen at pivotal.io> (Patch: Yes)
History
When Who What
2025-11-19 19:22:23 CFbot Patch needs rebase
2025-11-06 05:51:47 Sunil S (sunils26) Changed tags to Backport, Good First Review, GUC, Logical Replication, Physical Replication
2025-11-02 17:32:09 Josef Šimánek (retro) Added retro as reviewer
2025-10-30 13:43:01 Fujii Masao (masaofujii) Added masaofujii as reviewer
2025-10-19 12:01:35 Álvaro Herrera (alvherre) Moved from CF PG19-2 to CF PG19-3
2025-09-11 09:12:25 CFbot Patch does not need rebase anymore
2025-09-04 23:15:26 CFbot Patch needs rebase
2025-07-29 09:33:03 Sunil S (sunils26) New status: Ready for Committer
2025-07-28 22:41:24 Huansong Fu (huansong) Posted review with messageid <175374248473.990.8072449260770178398.pgcf@coridan.postgresql.org>
2025-07-28 22:41:24 Huansong Fu (huansong) New status: Waiting on Author
2025-07-24 22:27:49 Huansong Fu (huansong) Added huansong as reviewer
2025-07-10 06:28:51 Sunil S (sunils26) Attached mail thread CANXE4Tc3FNvZ_xAimempJWv_RH9pCvsZH7Yq93o1VuNLjUT-mQ@mail.gmail.com
2025-07-10 06:28:51 Sunil S (sunils26) Created patch record
Edit