From: Michael Paquier <michael@paquier.xyz>
To: Kouber Saparev <kouber@gmail.com>
Cc: pgsql-general@postgresql.org, wangsh.fnst@fujitsu.com, osumi.takamichi@fujitsu.com, Masahiko Sawada <sawada.mshk@gmail.com>
Subject: Re: Logical replication breaks: "unexpected duplicate for tablespace 0, relfilenode 2774069304"
Date: Sun, 24 Dec 2023 10:36:56 +0900
Message-ID: <ZYeLOF18fcS2x0Cb@paquier.xyz> (raw)
In-Reply-To: <CAN4RuQuKGmUD4-OcJeC7t-p=yN7Pvwry_pVCigio-_LdsXpkHw@mail.gmail.com>
References: <CAN4RuQuKGmUD4-OcJeC7t-p=yN7Pvwry_pVCigio-_LdsXpkHw@mail.gmail.com>
On Fri, Dec 22, 2023 at 10:55:24AM +0200, Kouber Saparev wrote:
> The table for this file node is not even included in any of the
> publications we have. I've found a similar issue described [1] before, so I
> was wondering whether this patch is applied? Our subscriber database is
> PostgreSQL 16.1 and the publisher - PostgreSQL 15.4.
Or just this link using the community archives based on the
message-ID:
https://www.postgresql.org/message-id/TYCPR01MB83731ADE7FD7C7CF5D335BCEEDE99@TYCPR01MB8373.jpnprd01....> What quick solution would fix the replication? Repack of the table? Reload
> of the database? Killing some backends?
There may be something you could do as a short-term solution, but it
does not solve the actual root of the problem, because the error you
are seeing is not something users should be able to face.
The first problem that we have here is that we've lost track of the
patch proposed, so I have added a CF entry for now:
https://commitfest.postgresql.org/46/4720/
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-general@postgresql.org
Cc: michael@paquier.xyz, kouber@gmail.com, sawada.mshk@gmail.com
Subject: Re: Logical replication breaks: "unexpected duplicate for tablespace 0, relfilenode 2774069304"
In-Reply-To: <ZYeLOF18fcS2x0Cb@paquier.xyz>
References: <CAN4RuQuKGmUD4-OcJeC7t-p=yN7Pvwry_pVCigio-_LdsXpkHw@mail.gmail.com> <ZYeLOF18fcS2x0Cb@paquier.xyz>
* 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