public inbox for [email protected]  
help / color / mirror / Atom feed
From: Amit Kapila <[email protected]>
To: Amit Kapila <[email protected]>
Cc: [email protected]
Subject: Re: pgsql: Stablize tests added in 3abe9dc188.
Date: Fri, 28 Mar 2025 17:20:53 +0530
Message-ID: <CAA4eK1J0ZYk5500+pJs9MjhwEMphCrEXuhmgkitjn+bTN7vGZQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Fri, Mar 28, 2025 at 11:18 AM Amit Kapila <[email protected]> wrote:
>
> Stablize tests added in 3abe9dc188.
>
> The problem is that after the ALTER SUBSCRIPTION tap_sub SET PUBLICATION
> command, we didn't wait for the new walsender to start on the publisher.
> Immediately after ALTER, we performed Insert and expected it to replicate.
> However, the replication could start from a point after the INSERT location,
> and as the subscription isn't copying initial data, we could miss such an
> Insert.
>
> The fix is to wait for connection to be established between publisher and
> subscriber before starting DML operations that are expected to replicate.
>
> As per CI.
>
> Reported-by: Andres Freund <[email protected]>
> Author: Hayato Kuroda <[email protected]>
> Discussion: https://postgr.es/m/CALDaNm2ms1deM5EYNLFEfESv_Kw=Y4AiTB0LP=qGS-UpFwGbPg@mail.gmail.com
>

By mistake, I added a wrong discussion link. The correct one is
https://postgr.es/m/ksxbayuk5hgqdsryjxqkbnjyvk6amd2jf5tui565ex6vazglls@jva4njirno4u

-- 
With Regards,
Amit Kapila.






view thread (2+ messages)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: pgsql: Stablize tests added in 3abe9dc188.
  In-Reply-To: <CAA4eK1J0ZYk5500+pJs9MjhwEMphCrEXuhmgkitjn+bTN7vGZQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox