Before this change, DB setup for client applications would occur on
whichever node was the juju leader. This may not be the cluster RW
primary node. This led to Bug #1866164.
This change guarantees that any post-clustering writes get sent to the
cluster RW primary node.
Reviewed: https:/ /review. opendev. org/718569 /git.openstack. org/cgit/ openstack/ charm-mysql- innodb- cluster/ commit/ ?id=2ee2031a5f2 2af9d7b32ab3129 66d6ac37e75516
Committed: https:/
Submitter: Zuul
Branch: master
commit 2ee2031a5f22af9 d7b32ab312966d6 ac37e75516
Author: David Ames <email address hidden>
Date: Thu Apr 9 14:34:43 2020 -0700
Send writes to the cluster RW primary
Before this change, DB setup for client applications would occur on
whichever node was the juju leader. This may not be the cluster RW
primary node. This led to Bug #1866164.
This change guarantees that any post-clustering writes get sent to the
cluster RW primary node.
Change-Id: If6beb4450be755 a1b204c63759de3 2d486201202
Closes-Bug: #1866164