diff options
author | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2021-08-15 21:12:58 +0200 |
---|---|---|
committer | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2021-08-15 21:12:58 +0200 |
commit | 094e03916670891b87ef1d95cf52ce6248c537ed (patch) | |
tree | c432d8030d8e6a5b21dffacf1cce16add79396c7 /scripts | |
parent | d1a948cfaaab67e699674af4c11efad3868a629d (diff) | |
download | mariadb-git-094e03916670891b87ef1d95cf52ce6248c537ed.tar.gz |
MDEV-26340: rsync uses `--whole-file` only in wan mode
This commit fixes a mistake where the --whole-file option
is used by rsync SST in WAN mode instead of LAN.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/wsrep_sst_rsync.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wsrep_sst_rsync.sh b/scripts/wsrep_sst_rsync.sh index fc9f5017937..cc1912abcd0 100644 --- a/scripts/wsrep_sst_rsync.sh +++ b/scripts/wsrep_sst_rsync.sh @@ -388,7 +388,7 @@ EOF # Use deltaxfer only for WAN inv=$(basename "$0") WHOLE_FILE_OPT="" - if [ "${inv%wsrep_sst_rsync_wan*}" != "$inv" ]; then + if [ "${inv%wsrep_sst_rsync_wan*}" = "$inv" ]; then WHOLE_FILE_OPT="--whole-file" fi |