Comment 17 for bug 1882205

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-mysql-innodb-cluster (master)

Reviewed: https://review.opendev.org/756410
Committed: https://git.openstack.org/cgit/openstack/charm-mysql-innodb-cluster/commit/?id=6cc500974d958982e6692d87a6a99354d9f2b50a
Submitter: Zuul
Branch: master

commit 6cc500974d958982e6692d87a6a99354d9f2b50a
Author: David Ames <email address hidden>
Date: Tue Oct 6 15:58:35 2020 -0700

    Handle attempts to write to a RO node

    Though the charm took pains to avoid it there are states the charm can
    get into in which it attempts to write to a read only node.

    This change catches the OperationalError error code 1290: "The MySQL server
    is running with the --super-read-only option so it cannot execute this
    statement" gracefully.

    Change-Id: If9188f5e72701f4bd7575b09217f355fa3d505a2
    Closes-Bug: #1882205