Replication streaming issue

From: Mai Peng <maily(dot)peng(at)webedia-group(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Replication streaming issue
Date: 2019-07-23 13:39:04
Message-ID: 9669E6D4-7AC7-4EB3-AB12-BBDA8E225FB9@webedia-group.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

I’ve got a strange issue.
Here is the error in pg log:ERROR: requested WAL segment 000000020000A01A0000004F has already been removed.
Everything is working fine: the lag is ok.
The check queries:
SELECT client_addr,
state,
write_lag,
flush_lag,
replay_lag
FROM pg_stat_replication
WHERE application_name ='walreceiver’;

SELECT COALESCE(ROUND(EXTRACT(epoch FROM now() - pg_last_xact_replay_timestamp())),0) AS seconds;

How could I monitor the problem? Why the replication streaming is still working?

Thank you in advance.
Mai

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Keith 2019-07-23 13:57:43 Re: Replication streaming issue
Previous Message Ni Na NN Guo 2019-07-22 05:11:06 Re: Re: install PostgreSQL using docker