Re: logical decoding and replication of sequences - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: logical decoding and replication of sequences
Date
Msg-id YwRV1GUPuAX0erri@paquier.xyz
Whole thread Raw
In response to Re: logical decoding and replication of sequences  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: logical decoding and replication of sequences
List pgsql-hackers
On Mon, Aug 08, 2022 at 06:15:46PM +1200, Thomas Munro wrote:
> The attached patch that simply moves the cache invalidation into
> report_invalid_record(), so that it's reached by the above code and
> everything else that reports an error, seems to fix the problem in
> src/bin/pg_ctl/t/003_promote.pl with Noah's spanner-in-the-works patch
> applied, and passes check-world without it.  I need to look at this
> some more, though, and figure out if it's the right fix.

Thomas, where are you on this open item?  A potential PANIC at
promotion is bad.  One possible exit path would be to switch the
default of recovery_prefetch, though that's a kind of last-resort
option seen from here.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Perform streaming logical transactions by background workers and parallel apply
Next
From: David Rowley
Date:
Subject: Re: Considering additional sort specialisation functions for PG16