Commit 38b85d1c 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 2ccafe84
......@@ -26,7 +26,7 @@ md5sum = d10b8e35b02b5391cf46bf0c7dbb1196
[template-mariadb]
filename = instance-mariadb.cfg.in
md5sum = 3f7ed9f418ad9288c4189487f57120bf
md5sum = 02804b57e2633e31d1e8f19e0931f0e3
[template-kumofs]
filename = instance-kumofs.cfg.in
......
......@@ -187,7 +187,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