Re: Add an option to skip loading missing publication to avoid logical replication failure
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: vignesh C <vignesh21@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>,
Dilip Kumar <dilipbalaut@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-05-02T01:00:53Z
Lists: pgsql-hackers
vignesh C <vignesh21@gmail.com> writes: > I agree with your analysis. I was able to reproduce the issue by > delaying the invalidation of the subscription until the walsender > finished decoding the INSERT operation following the ALTER > SUBSCRIPTION through a debugger and using the lsn from the pg_waldump > of the INSERT after the ALTER SUBSCRIPTION. Can you be a little more specific about how you reproduced this? I tried inserting sleep() calls in various likely-looking spots and could not get a failure that way. regards, tom lane
Commits
-
Fix the race condition in the test added by 7c99dc587.
- 8ede692de512 18.0 landed