Re: pgsql: Prevent invalidation of newly synced replication slots.
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Thomas Munro <thomas.munro@gmail.com>, Amit Kapila <akapila@postgresql.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-01-28T10:46:58Z
Lists: pgsql-hackers
Attachments
- comment_logical_slot_1.patch (application/octet-stream) patch
On Wed, Jan 28, 2026 at 11:17 AM Amit Kapila <amit.kapila16@gmail.com> wrote: > > It is not clear to me either why the similar test like > 040_standby_failover_slots_sync is successful and > 046_checkpoint_logical_slot is failing. I am still thinking about it > but thought of sharing the information I could gather by debugging. > It seems there is some interaction with previous test in same file which is causing this failure as we are using the primary node from previous test. When I tried to comment out get_changes and its corresponding injection_point in the previous test as attached, the entire test passed. I think if we use a freshly created primary node, this test will pass but I wanted to spend some more time to see how/why previous test is causing this issue? -- With Regards, Amit Kapila.
Commits
-
Fix CI failure introduced in commit 851f6649cc.
- 1c60f7236368 18.2 landed
- 3a98f989e8e5 19 (unreleased) landed
- 9649f1adfdee 17.8 landed
-
Prevent invalidation of newly synced replication slots.
- 851f6649cc18 19 (unreleased) cited
-
Prevent invalidation of newly created replication slots.
- 006dd4b2e5b3 19 (unreleased) cited