Re: logical decoding and replication of sequences
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Noah Misch <noah@leadboat.com>
Cc: Tomas Vondra <tomas.vondra@enterprisedb.com>,
Amit Kapila <amit.kapila16@gmail.com>, Petr Jelinek <petr.jelinek@enterprisedb.com>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-08-07T21:09:53Z
Lists: pgsql-hackers
On Mon, Aug 8, 2022 at 7:12 AM Noah Misch <noah@leadboat.com> wrote: > On Sun, Aug 07, 2022 at 03:18:52PM +0200, Tomas Vondra wrote: > > I'd bet it's about WAL prefetching, not the revert, and the bisect was a > > bit incorrect, because the commits are close and the failures happen to > > be rare. (Presumably you first did the bisect and then wrote the patch > > that reproduces this, right?) > > No. I wrote the patch, then used the patch to drive the bisect. With ten > iterations, commit 2c7ea57 passes 0/10, while 2c7ea57^ passes 10/10. I've now > tried recovery_prefetch=off. With that, the test passes 10/10 at 2c7ea57. > Given your observation of a failure at 5dc0418fab2, I agree with your > conclusion. Whatever the role of 2c7ea57 in exposing the failure on my > machine, a root cause in WAL prefetching looks more likely. > > > Adding Thomas Munro to the thread, he's the WAL prefetching expert ;-) Thanks for the repro patch and bisection work. Looking...
Commits
-
Fix cache invalidation bug in recovery_prefetch.
- d0d934490020 15.0 landed
- 932b01630095 16.0 landed
-
Revert "Logical decoding of sequences"
- 2c7ea57e56ca 15.0 landed
-
Minor improvements in sequence decoding code and docs
- 05843b1aa49d 15.0 landed
-
Handle sequences in preprocess_pubobj_list
- 002c9dd97a0c 15.0 landed
-
Update tab-completion for CREATE PUBLICATION with sequences
- 2d2232933b02 15.0 landed
-
Add decoding of sequences to built-in replication
- 75b1521dae1f 15.0 landed
-
Stabilize test_decoding touching with sequences
- a180c2b34de0 15.0 landed
-
Call ReorderBufferProcessXid from sequence_decode
- d5ed9da41d96 15.0 landed
-
Add decoding of sequences to test_decoding
- 80901b32913f 15.0 landed
-
Replace Test::More plans with done_testing
- 549ec201d613 15.0 cited
-
Logical decoding of sequences
- 0da92dc530c9 15.0 landed
-
Respect permissions within logical replication.
- a2ab9c06ea15 15.0 cited