Re: Unnecessary delay in streaming replication due to replay lag

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Asim Praveen <pasim(at)vmware(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, "Hao Wu (Pivotal)" <hawu(at)pivotal(dot)io>
Subject: Re: Unnecessary delay in streaming replication due to replay lag
Date: 2020-08-09 08:41:15
Message-ID: 20200809084115.GC17986@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Aug 09, 2020 at 05:54:32AM +0000, Asim Praveen wrote:
> I would like to revive this thready by submitting a rebased patch to
> start streaming replication without waiting for startup process to
> finish replaying all WAL. The start LSN for streaming is determined
> to be the LSN that points to the beginning of the most recently
> flushed WAL segment.
>
> The patch passes tests under src/test/recovery and top level “make check”.

I have not really looked at the proposed patch, but it would be good
to have some documentation.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2020-08-09 11:02:52 Re: Allow CLUSTER, VACUUM FULL and REINDEX to change tablespace on the fly
Previous Message Konstantin Knizhnik 2020-08-09 07:26:17 Re: LSM tree for Postgres