canonical / mysql-k8s-operator

A Charmed Operator for running MySQL on Kubernetes
https://charmhub.io/mysql-k8s
Apache License 2.0
8 stars 15 forks source link

Preemptive primary switchover does not update pod labels #335

Closed paulomach closed 8 months ago

paulomach commented 11 months ago

When preemptively changing primary, the charm does not update Pod labels on the same handler, which will disrupt client connections for more time that's actually necessary, since the k8s services used to map the primary and replicas will be outdated until some other hook updates it.

Todo:

github-actions[bot] commented 11 months ago

https://warthogs.atlassian.net/browse/DPE-2919