Skip to content

[DPE-11564] feat(logical-replication): own the subscriber side and validation (2/8) - #267

Open
marceloneppel wants to merge 2 commits into
lr-1-relation-modulefrom
lr-2-subscriber-validation
Open

marceloneppel wants to merge 2 commits into
lr-1-relation-modulefrom
lr-2-subscriber-validation

Conversation

@marceloneppel

@marceloneppel marceloneppel commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

Issue

Second PR of the logical replication migration series (after #266): the subscription side of the module.

Solution

Ports the subscriber half of the module:

  • subscription create/refresh/drop driven by the publisher's publications (with the tenacity-backed create_subscription retry kept verbatim),
  • the subscription-request validation & apply flow (apply_changed_config, retry_validations, has_remote_publisher_errors) the charms call from config-changed and update-status,
  • secret-rotation handling and the validation-state peer accessor the charms' status paths check.

Subscriber peer state goes through CharmState like the offer side, and config reads go through the state's typed config.

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch from a97bfa3 to 9c694bd Compare September 4, 2026 21:51
@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch from 5399f78 to d5aa3ed Compare September 28, 2026 13:34
@marceloneppel marceloneppel changed the title [DPE-11045] feat(logical-replication): own the subscriber side and validation (2/5) [DPE-11045] feat(logical-replication): own the subscriber side and validation (2/6) Oct 2, 2026
@marceloneppel
marceloneppel added this pull request to stack #343 October 5, 2026 17:45
@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch from df313aa to e1d289e Compare October 5, 2026 18:28
@marceloneppel marceloneppel changed the title [DPE-11045] feat(logical-replication): own the subscriber side and validation (2/6) [DPE-11045] feat(logical-replication): own the subscriber side and validation (2/7) Oct 7, 2026
@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch from e1d289e to 158655e Compare October 7, 2026 19:01
@marceloneppel marceloneppel changed the title [DPE-11045] feat(logical-replication): own the subscriber side and validation (2/7) [DPE-11045] feat(logical-replication): own the subscriber side and validation (2/8) Oct 7, 2026
@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch from b37ae86 to a622386 Compare October 7, 2026 21:59
@marceloneppel
marceloneppel removed this pull request from stack #343 October 7, 2026 22:36
@marceloneppel
marceloneppel added this pull request to stack #351 October 7, 2026 22:40
@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch from a622386 to 63c9d6a Compare October 8, 2026 04:01
@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch from 63c9d6a to d97cea8 Compare October 9, 2026 19:30
@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch 2 times, most recently from 40729f1 to f350dae Compare October 9, 2026 20:21
…lidation (2/7)

Ports the subscription-relation half of the module: subscription
create/refresh/drop on relation events, the subscription-request
validation and apply flow, secret-rotation handling, and the
validation-state peer accessor the charms' status paths check.

Subscriber peer state goes through CharmState like the offer side,
config reads go through the state's typed config, and the
tenacity-backed create_subscription retry is kept verbatim.
@marceloneppel
marceloneppel force-pushed the lr-2-subscriber-validation branch from 5a8d077 to ea0ae12 Compare October 12, 2026 20:28
@marceloneppel marceloneppel changed the title [DPE-11045] feat(logical-replication): own the subscriber side and validation (2/8) [DPE-11564] feat(logical-replication): own the subscriber side and validation (2/8) Oct 12, 2026
@marceloneppel
marceloneppel marked this pull request as ready for review October 12, 2026 20:36
@marceloneppel
marceloneppel requested a review from a team as a code owner October 12, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants