Re: make async slave to wait for lsn to be replayed

From: i(dot)kartyshov(at)postgrespro(dot)ru
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: make async slave to wait for lsn to be replayed
Date: 2017-09-04 13:41:23
Message-ID: 45fd50e15a0809a6b837cd8eafe251d7@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I forget to include patch in last letter.

Craig Ringer wrote 2017-08-15 05:00:
> That ship sailed a long time ago unfortunately, they're all over
> pg_stat_replication and pg_replication_slots and so on. They're
> already routinely used for monitoring replication lag in bytes,
> waiting for a peer to catch up, etc.
>
> --
>
> Craig Ringer http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services

Function pg_replication_slots is only master, and waitlsn is async hot
standby replication function. It allows us to wait untill insert made on
master is be replayed on replica.

--
Ivan Kartyshov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

Attachment Content-Type Size
waitlsn_10dev_v6.patch text/x-diff 20.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2017-09-04 13:43:40 Re: obsolete code in pg_upgrade
Previous Message Alvaro Herrera 2017-09-04 13:38:14 Re: Proposal: pg_rewind to skip config files