Merge "Always use first mysql node in pool, fixes PROD-11155"
diff --git a/haproxy/proxy/listen/mysql.yml b/haproxy/proxy/listen/mysql.yml
index a7ef910..40a9f35 100644
--- a/haproxy/proxy/listen/mysql.yml
+++ b/haproxy/proxy/listen/mysql.yml
@@ -7,7 +7,7 @@
listen:
mysql:
mode: tcp
- balance: source
+ balance: first
binds:
- address: ${_param:haproxy_bind_address}
port: ${_param:haproxy_mysql_bind_port}
diff --git a/haproxy/proxy/listen/openstack/galera.yml b/haproxy/proxy/listen/openstack/galera.yml
index 254dc3b..7298cfc 100644
--- a/haproxy/proxy/listen/openstack/galera.yml
+++ b/haproxy/proxy/listen/openstack/galera.yml
@@ -11,6 +11,7 @@
mysql_cluster:
type: mysql
service_name: mysql
+ balance: first
binds:
- address: ${_param:cluster_vip_address}
port: 3306