Re: [HACKERS] [COMMITTERS] pgsql: Replication lag tracking for walsenders - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] [COMMITTERS] pgsql: Replication lag tracking for walsenders
Date
Msg-id 20170421190629.3srqyohjocgdvhhr@alvherre.pgsql
Whole thread Raw
Responses Re: [HACKERS] [COMMITTERS] pgsql: Replication lag tracking for walsenders
List pgsql-hackers
Simon Riggs wrote:
> Replication lag tracking for walsenders
> 
> Adds write_lag, flush_lag and replay_lag cols to pg_stat_replication.

Did anyone notice that this seems to be causing buildfarm member 'tern'
to fail the recovery check?  See here:

https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=tern&dt=2017-04-21%2012%3A48%3A09&stg=recovery-check
which has
TRAP: FailedAssertion("!(lsn >= prev.lsn)", File: "walsender.c", Line: 3331)

Line 3331 was added by this commit.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Unportable implementation of background worker start
Next
From: Fujii Masao
Date:
Subject: Re: [HACKERS] some review comments on logical rep code