Commit 98111d8d authored by Rafael Monnerat's avatar Rafael Monnerat

slaprunner: Re-query variable for particion table

 There are cases when the db isn't upgrade but the webrunner is,
 that the db migration may occur during the import, cause error for a certain period of time (until db inside runner0 is updated).
parent 522471f2
......@@ -22,7 +22,7 @@ md5sum = a5e2ae493b78a0f42d61cc79a0b2e686
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
md5sum = ed6dc50713c14e2527b9958d98674eed
md5sum = 3c80e21dda146b4cbee103b0a3f6935b
[instance-runner-import]
filename = instance-runner-import.cfg.in
......
......@@ -250,6 +250,7 @@ do
done
# Change back slapproxy database to have all instances started
DB_PARTITION_TABLE=$(db_query ".table partition__")
log_message "Set instances as to start after takeover..."
db_query "update $DB_PARTITION_TABLE set requested_state='started';"
......
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