canonical / mysql-router-operator

Mysql router operator charm
https://charmhub.io/mysql-router?channel=dpe/edge
Apache License 2.0
3 stars 3 forks source link

Fix upgrade on leader unit after `resume-upgrade` #132

Closed carlcsaposs-canonical closed 4 months ago

carlcsaposs-canonical commented 4 months ago

If resume-upgrade ran and leader was 2nd highest unit, it would not upgrade on the same event

Leftover from k8s where reconcile_partition triggers upgrade of unit (and Juju event) automatically

paulomach commented 4 months ago

@carlcsaposs-canonical , if I understood correctly that's just to the upgrade on the leader not wait to an event (use the action to trigger it), and not that the upgrade is hanging, correct?

carlcsaposs-canonical commented 4 months ago

@carlcsaposs-canonical , if I understood correctly that's just to the upgrade on the leader not wait to an event (use the action to trigger it), and not that the upgrade is hanging, correct?

exactly