pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kacey Holston <kacey.holston@pgexperts.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: Issue with logical replication
Date: Tue, 10 Aug 2021 11:28:49 -0700
Message-ID: <0DBA4964-1CBE-41C0-905C-B5DA72C29D47@pgexperts.com> (raw)
In-Reply-To: <CAA4eK1+7TUDGT+NTmdOVNHdp_dpScDT-MeACjPoDt5ZcqpSkNg@mail.gmail.com>
References: <8CE7E1D1-56E6-4836-8F17-235B6FFA4EBD@pgexperts.com>
	<CAA4eK1KA-Ld5n+6ir_iC7Su7z2J001iyOvzZyOmWbqj=c+Fm6A@mail.gmail.com>
	<ED3D69CC-6C75-4C58-A9C9-43D2A96420B1@pgexperts.com>
	<CAA4eK1+7TUDGT+NTmdOVNHdp_dpScDT-MeACjPoDt5ZcqpSkNg@mail.gmail.com>





> On Aug 9, 2021, at 9:21 PM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> 
> On Tue, Aug 10, 2021 at 12:25 AM Kacey Holston
> <kacey.holston@pgexperts.com> wrote:
>> 
>> My apologies.
>> 
>> The data was missing on PG13 from the initial copy.
>> 
> 
> Okay, so all the steps after you say "We then reversed the direction
> of replication by running this on the PostgreSQL 13 server:" in your
> email are not required to see the problem, right?

The reversed direction is only included for fullness of steps. The data is missing before that happens, we just did not discover the missing data the first time until after the we reversed direction.

When made the second attempt we confirmed the data was missing after the initial sync completed.

So, the steps can be ignored after the CREATE SUBSCRIPTION command.

> 
> Can you please tell whether the data you see missing is the new data
> generated on the publisher when the copy is in progress or it was the
> original data of the table?

It was the original data of the table that is missing.

> Please tell me the situation when you have
> used Create Subscription command *not* when you were using manually
> created slot. Also, do you have any subscriber/publisher side logs
> during that time which you can share?

I do have the logs from the second attempt but do not feel comfortable publicly exposing them.

> 
> Note - Please respond to the email in-line as it is easier to
> communicate that way and that is the style we use to discuss here.
> 
> -- 
> With Regards,
> Amit Kapila.






view thread (6+ messages)  latest in thread

Message-ID: <0DBA4964-1CBE-41C0-905C-B5DA72C29D47@pgexperts.com>
Permalink:  ../0DBA4964-1CBE-41C0-905C-B5DA72C29D47@pgexperts.com/
Also on:    postgresql.org/message-id/0DBA4964-1CBE-41C0-905C-B5DA72C29D47@pgexperts.com

 · 

reply

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-bugs@postgresql.org
  Cc: kacey.holston@pgexperts.com, amit.kapila16@gmail.com
  Subject: Re: Issue with logical replication
  In-Reply-To: <0DBA4964-1CBE-41C0-905C-B5DA72C29D47@pgexperts.com>
  References: <8CE7E1D1-56E6-4836-8F17-235B6FFA4EBD@pgexperts.com> <CAA4eK1KA-Ld5n+6ir_iC7Su7z2J001iyOvzZyOmWbqj=c+Fm6A@mail.gmail.com> <ED3D69CC-6C75-4C58-A9C9-43D2A96420B1@pgexperts.com> <CAA4eK1+7TUDGT+NTmdOVNHdp_dpScDT-MeACjPoDt5ZcqpSkNg@mail.gmail.com> <0DBA4964-1CBE-41C0-905C-B5DA72C29D47@pgexperts.com>

* 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