summaryrefslogtreecommitdiff
path: root/sql/wsrep_check_opts.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-03-19 23:27:10 +0100
committerSergei Golubchik <serg@mariadb.org>2018-03-23 00:55:20 +0100
commit8f1014e9a0b41c3893f4b15b9db4842d816d9f3f (patch)
tree65a5e7447664a9b55ffc472309f979b2de444aa5 /sql/wsrep_check_opts.cc
parent7e300424a39f8b99ef73e037861f454268ba6fe7 (diff)
downloadmariadb-git-8f1014e9a0b41c3893f4b15b9db4842d816d9f3f.tar.gz
MDEV-15409 make sure every sst script is tested in buildbot
fix galera.galera_sst_mysqldump test to work: * must connect to 127.0.0.1, where mysqld is listening * disable wsrep_sync_wait in wsrep_sst_mysqldump, otherwise sst can deadlock * allow 127.0.0.1 for bind_address and wsrep_sst_receive_address. (it's useful in tests, or when two nodes are on the same box, or when nodes are on different boxes, but the connection is tunelled, or whatever. Don't judge user's setup). MDEV-14070 * don't wait for client connections to die when doing mysqldump sst. they'll die in a due time, and if needed mysql will wait on locks until they do. MDEV-14069 Also don't mark it big, to make sure it's sufficiently tested
Diffstat (limited to 'sql/wsrep_check_opts.cc')
-rw-r--r--sql/wsrep_check_opts.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/wsrep_check_opts.cc b/sql/wsrep_check_opts.cc
index 690c1a4b2a4..28bd3a4492b 100644
--- a/sql/wsrep_check_opts.cc
+++ b/sql/wsrep_check_opts.cc
@@ -51,7 +51,7 @@ int wsrep_check_opts()
(!strcasecmp(my_bind_addr_str, "127.0.0.1") ||
!strcasecmp(my_bind_addr_str, "localhost")))
{
- WSREP_ERROR("wsrep_sst_method is set to 'mysqldump' yet "
+ WSREP_WARN("wsrep_sst_method is set to 'mysqldump' yet "
"mysqld bind_address is set to '%s', which makes it "
"impossible to receive state transfer from another "
"node, since mysqld won't accept such connections. "
@@ -59,7 +59,6 @@ int wsrep_check_opts()
"set bind_address to allow mysql client connections "
"from other cluster members (e.g. 0.0.0.0).",
my_bind_addr_str);
- return 1;
}
}
else