Skip to content

Conversation

davidporter-id-au
Copy link
Member

@davidporter-id-au davidporter-id-au commented Oct 10, 2025

What changed?

epic: #6697

  • Refactors the updateReplicationConfig handler a bit to try and simplify it and/or make it less of a nightmare to follow
  • Fixes some validation problems where it was possible to pass invalid clusters on update

Reviewing this is probably a little hard, so I suggest looking at the three commits as they are distinct and (hopefully) fairly easy to follow refactors.

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Signed-off-by: David Porter <[email protected]>

- Changes the flags being passed around to be consistent with their use outside
  - s/clusterUpdated/replicationConfigChanged/g
  - s/activeClusterUpdated/activeClusterChanged/g
- Documents their intended behaviour
@davidporter-id-au davidporter-id-au changed the title Bugfix/adding some more validation for domain handler ii fix: refactoring some of the domain handler Oct 10, 2025
Signed-off-by: David Porter <[email protected]>
Signed-off-by: David Porter <[email protected]>
activeClusterSelectionPolicy:
clusterAttribute:
scope: region
name: region0
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need the clusters to be valid

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not the cluster name. It's the cluster attribute name

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're right, I'm confused 🤦

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.

2 participants