Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns

Japin Li <japinli@hotmail.com>

From: Japin Li <japinli@hotmail.com>
To: ahsan hadi <ahsan.hadi@gmail.com>
Cc: Bertrand Drouvot <bdrouvot@amazon.com>, "Minsoo (Mike) Oh" <minsoo@amazon.com>, pgsql-hackers@lists.postgresql.org
Date: 2021-05-08T03:17:13Z
Lists: pgsql-hackers
On Fri, 07 May 2021 at 19:50, ahsan hadi <ahsan.hadi@gmail.com> wrote:
> The following review has been posted through the commitfest application:
> make installcheck-world:  tested, passed
> Implements feature:       tested, passed
> Spec compliant:           tested, passed
> Documentation:            not tested
>
> I have also seen this error with logical replication using pglogical extension, will this patch also address similar problem with pglogical?

Does there is a test case to reproduce this problem (using pglogical)?
I encountered this, however I'm not find a case to reproduce it.

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.



Commits

  1. Fix the incorrect assertion introduced in commit 7f13ac8123.

  2. Fix catalog lookup with the wrong snapshot during logical decoding.

  3. Clean up assorted failures under clang's -fsanitize=undefined checks.