diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-09-02 14:57:48 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-09-02 14:57:48 +0300 |
commit | 9aea50616c2d8e067e5ce3efb1152e81877bf931 (patch) | |
tree | 50756692d79a5d4bc088c7545b927c5e00927978 | |
parent | 837bbbafc535d14ea102ced983349fd29b84f782 (diff) | |
download | mariadb-git-9aea50616c2d8e067e5ce3efb1152e81877bf931.tar.gz |
Increase mariabackup SST initial timeout to avoid timeouts.
-rw-r--r-- | scripts/wsrep_sst_mariabackup.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/wsrep_sst_mariabackup.sh b/scripts/wsrep_sst_mariabackup.sh index 86378cb699c..ef2a3b66de8 100644 --- a/scripts/wsrep_sst_mariabackup.sh +++ b/scripts/wsrep_sst_mariabackup.sh @@ -1,6 +1,6 @@ #!/bin/bash -ue # Copyright (C) 2013 Percona Inc -# Copyright (C) 2017-2019 MariaDB +# Copyright (C) 2017-2020 MariaDB # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -363,7 +363,7 @@ read_cnf() iopts=$(parse_cnf sst inno-backup-opts "") iapts=$(parse_cnf sst inno-apply-opts "") impts=$(parse_cnf sst inno-move-opts "") - stimeout=$(parse_cnf sst sst-initial-timeout 100) + stimeout=$(parse_cnf sst sst-initial-timeout 300) ssyslog=$(parse_cnf sst sst-syslog 0) ssystag=$(parse_cnf mysqld_safe syslog-tag "${SST_SYSLOG_TAG:-}") ssystag+="-" @@ -624,7 +624,8 @@ recv_joiner() popd 1>/dev/null if [[ ${RC[0]} -eq 124 ]];then - wsrep_log_error "Possible timeout in receving first data from donor in gtid stage" + wsrep_log_error "Possible timeout in receiving first data from " + "donor in gtid stage: exit codes: ${RC[@]}" exit 32 fi |