Commit 4826634d 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 45715ae4
......@@ -26,7 +26,7 @@ md5sum = d10b8e35b02b5391cf46bf0c7dbb1196
[template-mariadb]
filename = instance-mariadb.cfg.in
md5sum = 03a9b5e5e3997d9024bbf72fe7d706ed
md5sum = f0ee8909d5b10a919bd8f14ec5c74550
[template-kumofs]
filename = instance-kumofs.cfg.in
......
......@@ -186,7 +186,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