kolla/docker/mariadb
Michal Arbet ec4c4310dd Add way to backup from MariaDB replica server
ProxySQL reports its version to MySQL clients,
causing the backup process to fail when ProxySQL is used.

This patch adds a new script that handles backups from
the replica server directly, without modifying the original
backup script. The new script retrieves the server address
via the load balancer and connects directly to the replica
server to execute the backup.

Moreover, this reduces the risk that the backup will be inconsistent
or that it will block OpenStack MySQL clients, because they are
connected to a different server, and no one is connected to the replica,
or that it will overload the load balancer (such as ProxySQL or HAProxy)
which listens on the VIP.

Closes-Bug: #2080818
Change-Id: Ibf7e40e8b059d733e114963022df06180249c650
2024-10-09 11:47:01 +02:00
..
mariadb-base mariadb: Bump to current LTS (10.11) 2023-06-26 08:48:14 +00:00
mariadb-clustercheck mariadb-clustercheck: Add a script handling signals 2024-01-09 16:19:38 +00:00
mariadb-server Add way to backup from MariaDB replica server 2024-10-09 11:47:01 +02:00