Re: Add an option to skip loading missing publication to avoid logical replication failure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Add an option to skip loading missing publication to avoid logical replication failure
Date
Msg-id 1792293.1746147653@sss.pgh.pa.us
Whole thread Raw
In response to Re: Add an option to skip loading missing publication to avoid logical replication failure  (vignesh C <vignesh21@gmail.com>)
Responses Re: Add an option to skip loading missing publication to avoid logical replication failure
Re: Add an option to skip loading missing publication to avoid logical replication failure
List 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



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: pgsql: Add function to log the memory contexts of specified backend pro
Next
From: Michael Paquier
Date:
Subject: Re: Should shared_preload_libraries be loaded during binary upgrade?