From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: src/test/subscription/t/005_encoding.pl is broken
Date: Mon, 18 Sep 2017 13:59:30 -0400
Message-ID: <25173.1505757570@sss.pgh.pa.us> (raw)
In-Reply-To: <20170918175829.dyujv4leisqhein4@alap3.anarazel.de>
References: <27032.1505749806@sss.pgh.pa.us>
<20170918175829.dyujv4leisqhein4@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andres Freund <andres@anarazel.de> writes:
> On 2017-09-18 11:50:06 -0400, Tom Lane wrote:
>> The reason seems to be that its method of waiting for replication
>> to happen is completely inapropos. It's watching for the master
>> to say that the slave has received all the WAL, but that does not
>> ensure that the logicalrep apply workers have caught up, does it?
> To my knowledge here's not really any difference between the two in
> logical replication. Received changes are immediately applied, there's
> no equivalent to a walreceiver queing up "logical wal" onto disk.
> So I'm not sure that theory holds.
Well, there's *something* wrong with this test's wait method.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de
Subject: Re: src/test/subscription/t/005_encoding.pl is broken
In-Reply-To: <25173.1505757570@sss.pgh.pa.us>
References: <27032.1505749806@sss.pgh.pa.us> <20170918175829.dyujv4leisqhein4@alap3.anarazel.de> <25173.1505757570@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox