Repository navigation
[DPE-7882] fix(logical-replication): track replication chains and guard the publisher (3/8) - #268
Draft
marceloneppel wants to merge 3 commits into
Draft
marceloneppel wants to merge 3 commits into
marceloneppel wants to merge 3 commits into
Conversation
2 tasks
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
from
September 4, 2026 21:51
af15795 to
2256e5f
Compare
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
from
September 28, 2026 13:35
903281a to
f5598cb
Compare
marceloneppel
added this pull request to stack #343
October 5, 2026 17:45
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
from
October 5, 2026 18:28
926da25 to
1919f1c
Compare
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
2 times, most recently
from
October 7, 2026 21:15
8b1ad3c to
83ddb1a
Compare
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
from
October 7, 2026 21:59
83ddb1a to
e210c84
Compare
marceloneppel
removed this pull request from stack #343
October 7, 2026 22:36
marceloneppel
added this pull request to stack #351
October 7, 2026 22:40
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
from
October 8, 2026 04:01
e210c84 to
3e5c52f
Compare
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
from
October 9, 2026 19:30
3e5c52f to
69d2052
Compare
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
from
October 9, 2026 19:44
69d2052 to
eecbce8
Compare
The only logical-replication-enabled charms were on the edge channel (never stable), so no chain-less publisher version exists to fall back for.
marceloneppel
force-pushed
the
lr-3-circular-chains
branch
from
October 9, 2026 20:21
eecbce8 to
ca1d277
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Third PR of the logical replication migration series (after #267): the publisher-side guard for cyclic replication, part of fixing canonical/postgresql-operator#1085 and canonical/postgresql-k8s-operator#1052.
Solution
replication-chainsmetadata recording the app path a table's data took (built from our own subscription's chains, extended when republishing).A <-> Bloops on the same table and multi-hopA -> B -> C -> Aloops both surface as publisher errors on the relation, which the subscriber side (next PR) turns into a blocked status._create_new_publicationto keepprocess_offerunder the complexity budget._check_subscriber_circular_replication,_would_create_circular_replication) are introduced here unused; the next slice wires them into the subscriber's validation.Checklist