Start WAL streaming as early as possible, without waiting for startup process to finish replaying existing WAL. This helps synchronous replication to resume quickly when significant replay lag has been built up.

Edit
ID 2676
Title Start WAL streaming as early as possible, without waiting for startup process to finish replaying existing WAL. This helps synchronous replication to resume quickly when significant replay lag has been built up.
Topic Replication & Recovery
Created 2020-08-09 05:45:59
Last modified 2020-12-01 14:21:59 (3 years, 11 months ago)
Latest email 2021-12-16 10:05:19 (2 years, 11 months ago)
Status
2020-11: Returned with feedback
2020-09: Moved to next CF
Target version 14
Authors Asim Rama Praveen (apraveen), Hao Wu (hwu)
Reviewers 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/2676
git checkout commitfest/cf/2676
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 2021-12-16 10:05:19 by Kyotaro Horiguchi <horikyota.ntt at gmail.com>
Latest 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>
    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
2020-12-01 14:21:59 Anastasia Lubennikova (lubennikovaav) Closed in commitfest 2020-11 with status: Returned with feedback
2020-11-20 08:31:46 Michael Paquier (michael-kun) New status: Waiting on Author
2020-10-01 04:46:09 Michael Paquier (michael-kun) Closed in commitfest 2020-09 with status: Moved to next CF
2020-08-09 05:57:10 Asim Rama Praveen (apraveen) Attached mail thread CANXE4Tc3FNvZ_xAimempJWv_RH9pCvsZH7Yq93o1VuNLjUT-mQ@mail.gmail.com
2020-08-09 05:56:59 Asim Rama Praveen (apraveen) Detached mail thread CANXE4Tc3FNvZ_xAimempJWv_RH9pCvsZH7Yq93o1VuNLjUT-mQ@mail.gmail.com
2020-08-09 05:56:53 Asim Rama Praveen (apraveen) Deleted annotation "Latest patch, rebased against master." from D341EF9B-EEC9-4DB2-8C56-A715D5E11EE1@vmware.com
2020-08-09 05:56:31 Asim Rama Praveen (apraveen) Added annotation "Latest patch, rebased against master." to D341EF9B-EEC9-4DB2-8C56-A715D5E11EE1@vmware.com
2020-08-09 05:46:45 Asim Rama Praveen (apraveen) Changed authors to Asim Rama Praveen (apraveen), Hao Wu (hwu)
2020-08-09 05:46:45 Asim Rama Praveen (apraveen) Changed targetversion to 14
2020-08-09 05:45:59 Asim Rama Praveen (apraveen) Attached mail thread CANXE4Tc3FNvZ_xAimempJWv_RH9pCvsZH7Yq93o1VuNLjUT-mQ@mail.gmail.com
2020-08-09 05:45:59 Asim Rama Praveen (apraveen) Created patch record
Edit