Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDWUj-0002Zk-EH for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Aug 2021 18:28:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mDWUi-0008RO-0E for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Aug 2021 18:28:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDWUh-0008RG-Np for pgsql-bugs@lists.postgresql.org; Tue, 10 Aug 2021 18:28:55 +0000 Received: from smtp72.ord1d.emailsrvr.com ([184.106.54.72]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDWUf-0005lC-Jn for pgsql-bugs@lists.postgresql.org; Tue, 10 Aug 2021 18:28:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pgexperts.com; s=20190219-ofqv31v6; t=1628620131; bh=qfXlkTTDovxFmp8rZ/ViD7RTqdbgrwRlWppwf2AfNsg=; h=Subject:From:Date:To:From; b=SZqF8Kd2KXnrlab4+hdzKKVa/tMVGtoXA0oe/rLxg4743YAKjxY/EO3zpunpt+afU YbTBTypRtNa98G1ltAEByAq3XE8GXFYQzVPFYCjMbWVNhpwzwVH1crfsulx6/A+mka C14x6XDL5NkN0iPOR24dH1V03C30rtMIn6Kcciew= X-Auth-ID: kacey.holston@pgexperts.com Received: by smtp10.relay.ord1d.emailsrvr.com (Authenticated sender: kacey.holston-AT-pgexperts.com) with ESMTPSA id E0D3EA0169; Tue, 10 Aug 2021 14:28:50 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: Issue with logical replication From: Kacey Holston In-Reply-To: Date: Tue, 10 Aug 2021 11:28:49 -0700 Cc: PostgreSQL mailing lists Content-Transfer-Encoding: quoted-printable Message-Id: <0DBA4964-1CBE-41C0-905C-B5DA72C29D47@pgexperts.com> References: <8CE7E1D1-56E6-4836-8F17-235B6FFA4EBD@pgexperts.com> To: Amit Kapila X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Classification-ID: 91fab9cd-9151-4d39-9c88-7940c1c79666-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Aug 9, 2021, at 9:21 PM, Amit Kapila = wrote: >=20 > On Tue, Aug 10, 2021 at 12:25 AM Kacey Holston > wrote: >>=20 >> My apologies. >>=20 >> The data was missing on PG13 from the initial copy. >>=20 >=20 > 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. >=20 > 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. >=20 > 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. >=20 > --=20 > With Regards, > Amit Kapila.