Increase the slave_net_timeout to double of what the master

uses for connect_timeout
parent b235d54f
...@@ -3901,7 +3901,7 @@ sub mysqld_arguments ($$$$) { ...@@ -3901,7 +3901,7 @@ sub mysqld_arguments ($$$$) {
my $slave_load_path= "../tmp"; my $slave_load_path= "../tmp";
mtr_add_arg($args, "%s--slave-load-tmpdir=%s", $prefix, mtr_add_arg($args, "%s--slave-load-tmpdir=%s", $prefix,
$slave_load_path); $slave_load_path);
mtr_add_arg($args, "%s--set-variable=slave_net_timeout=10", $prefix); mtr_add_arg($args, "%s--set-variable=slave_net_timeout=120", $prefix);
if ( @$slave_master_info ) if ( @$slave_master_info )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment