Skip to content

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

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

[DPE-11045] feat(logical-replication): own the subscriber side and validation (2/5)#267
marceloneppel wants to merge 1 commit into
lr-1-relation-modulefrom
lr-2-subscriber-validation

Conversation

@marceloneppel

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.

…lidation (2/5)

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 a97bfa3 to 9c694bd Compare September 4, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant