Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns
Masahiko Sawada <sawada.mshk@gmail.com>
From: Masahiko Sawada <sawada.mshk@gmail.com>
To: "shiy.fnst@fujitsu.com" <shiy.fnst@fujitsu.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, "amit.kapila16@gmail.com" <amit.kapila16@gmail.com>,
"bdrouvot@amazon.com" <bdrouvot@amazon.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "minsoo@amazon.com" <minsoo@amazon.com>
Date: 2022-08-03T07:49:24Z
Lists: pgsql-hackers
Attachments
- REL15_v13-0001-Fix-catalog-lookup-with-the-wrong-snapshot-durin.patch (application/octet-stream) patch v13-0001
- master_v13-0001-Fix-catalog-lookup-with-the-wrong-snapshot-durin.patch (application/octet-stream) patch v13-0001
- REL13_v13-0001-Fix-catalog-lookup-with-the-wrong-snapshot-durin.patch (application/octet-stream) patch v13-0001
- REL12_v13-0001-Fix-catalog-lookup-with-the-wrong-snapshot-durin.patch (application/octet-stream) patch v13-0001
- REL14_v13-0001-Fix-catalog-lookup-with-the-wrong-snapshot-durin.patch (application/octet-stream) patch v13-0001
- REL11_v13-0001-Fix-catalog-lookup-with-the-wrong-snapshot-durin.patch (application/octet-stream) patch v13-0001
- REL10_v13-0001-Fix-catalog-lookup-with-the-wrong-snapshot-durin.patch (application/octet-stream) patch v13-0001
On Wed, Aug 3, 2022 at 3:52 PM shiy.fnst@fujitsu.com <shiy.fnst@fujitsu.com> wrote: > > On Wed, Aug 3, 2022 12:06 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > > > > I've attached updated patches that incorporated the above comments as > > well as the comments from Shi yu. Please review them. > > > > Thanks for updating the patch. > > I noticed that in SnapBuildXidSetCatalogChanges(), "i" is initialized in the if > branch in REL10 patch, which is different from REL11 patch. Maybe we can modify > REL11 patch to be consistent with REL10 patch. > > The rest of the patch looks good to me. Oops, thanks for pointing it out. I've fixed it and attached updated patches for all branches so as not to confuse the patch version. There is no update from v12 patch on REL12 - master patches. Regards, -- Masahiko Sawada EDB: https://www.enterprisedb.com/
Commits
-
Fix the incorrect assertion introduced in commit 7f13ac8123.
- d2169c998553 16.0 landed
-
Fix catalog lookup with the wrong snapshot during logical decoding.
- 7f13ac812313 16.0 landed
- 272248a0c1b1 15.0 landed
- 68dcce247f1a 14.6 landed
- 547b963683e3 13.9 landed
- 794460783125 12.13 landed
- e721123b7a0c 11.18 landed
- bf0718c137c4 10.23 landed
-
Clean up assorted failures under clang's -fsanitize=undefined checks.
- 46ab07ffda9d 15.0 cited