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

This commit is contained in:
Zuul 2021-10-05 13:02:09 +00:00 committed by Gerrit Code Review
commit 0b85b0633d
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