Commit 1e3d0651 authored by Xavier Thompson's avatar Xavier Thompson

stack/erp5: Drop mariadb_update service in replica

This service does on-the-fly modifications on the running mariadb that
can conflict with and break replication and are anyway unneeded in the
replica.

Maybe this service should be dropped entirely and its functionality be
implemented another way.
parent a7441a4e
......@@ -26,7 +26,7 @@ md5sum = d10b8e35b02b5391cf46bf0c7dbb1196
[template-mariadb]
filename = instance-mariadb.cfg.in
md5sum = f54720de0030bd2c3c72b6ad5f98e71b
md5sum = 0a09cd085dee6a9a535294a4cd0c0d94
[template-kumofs]
filename = instance-kumofs.cfg.in
......
......@@ -189,7 +189,11 @@ context = section parameter_dict init-script-parameters
[{{ section('update-mysql') }}]
recipe = slapos.cookbook:generic.mysql.wrap_update_mysql
{% if replication -%}
output = ${directory:bin}/mariadb_update
{%- else %}
output = ${directory:services}/mariadb_update
{%- endif %}
binary = ${binary-wrap-mysql_upgrade:wrapper-path}
mysql = ${binary-wrap-mysql:wrapper-path}
init-script = ${init-script:output}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment