move to master branch of charm for few bug fixes.
[joid.git] / ci / config_tpl / bundle_tpl / mysql.yaml
index 110140e..ab2c493 100644 (file)
@@ -2,11 +2,17 @@
       charm: "local:{{ ubuntu.release }}/percona-cluster"
       num_units: {{ unit_qty() }}
       options:
-        innodb-buffer-pool-size: 100M
-        #lp1366997-workaround: true
+{% if os.ha.mode == 'ha' %}
+        innodb-buffer-pool-size: 10G
+{% else %}
+        innodb-buffer-pool-size: 1G
+{% endif %}
         max-connections: 20000
         root-password: {{ get_password('mysql_root') }}
         sst-password: {{ get_password('mysql_sst') }}
+{% if os.network.ipv6 %}
+        prefer-ipv6: {{ os.network.ipv6 }}
+{% endif %}
 {% if os.ha.mode == 'ha' %}
         vip: {{ opnfv.vip.mysql }}
 {% endif %}