Updating proxysql.yaml.j2 to use mariadb_port for backends

Related-Bug: #2024554
Change-Id: Ie678d90f88034a079f3284ab5a509be24e8eb42b
This commit is contained in:
Adam Stackhouse 2023-06-21 10:27:34 +01:00
parent e637978e26
commit 675b040b3b
2 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,7 @@ mysql_servers:
{% set WEIGHT = 10 %}
{% endif %}
- address: "{{ 'api' | kolla_address(host) }}"
port : {{ database_port }}
port : {{ mariadb_port }}
hostgroup : {{ WRITER_GROUP }}
max_connections: {{ proxysql_backend_max_connections }}
max_replication_lag: {{ proxysql_backend_max_replication_lag }}

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Updates ``proxysql.yaml.j2`` to use mariadb_port for backends.
This fixes setups where ``database_port`` and ``mariadb_port`` differ.