Merge "Make Galera desync operation more resilient" into stable/wallaby

This commit is contained in:
Zuul 2021-10-09 05:37:20 +00:00 committed by Gerrit Code Review
commit 8e1212de07
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@
set -o pipefail
{{ tripleo_container_cli }} exec {{ tripleo_backup_and_restore_mysql_container }} bash -c "mysql -p -u root \
-p{{ mysql_password.stdout }} --execute 'SET GLOBAL wsrep_desync = ON'"
register: desync_output
retries: 300
delay: 5
until: not desync_output.stderr
when:
- mysql_password.stderr is defined
- enabled_galera