You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/suite/rpl/r/rpl_heartbeat.result
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,19 @@ show status like 'Slave_heartbeat_period';;
6
6
Variable_name Slave_heartbeat_period
7
7
Value 5.000
8
8
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 4294968;
9
-
ERROR HY000: The requested value for the heartbeat period is negative or exceeds the maximum 4294967 seconds
9
+
ERROR HY000: The requested value for the heartbeat period is either negative or exceeds the maximum allowed (4294967 seconds).
10
10
show status like 'Slave_heartbeat_period';;
11
11
Variable_name Slave_heartbeat_period
12
12
Value 5.000
13
13
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 0.0009999;
14
14
Warnings:
15
-
Warning 1624 The requested value for the heartbeat period is less than 1 msec. The period is reset to zero which means no heartbeats will be sending
15
+
Warning 1703 The requested value for the heartbeat period is less than 1 millisecond. The value is reset to 0, meaning that heartbeating will effectively be disabled.
16
16
show status like 'Slave_heartbeat_period';;
17
17
Variable_name Slave_heartbeat_period
18
18
Value 0.000
19
19
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 4294967;
20
20
Warnings:
21
-
Warning 1624 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' sec. A sensible value for the period should be less than the timeout.
21
+
Warning 1704 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout.
22
22
show status like 'Slave_heartbeat_period';;
23
23
Variable_name Slave_heartbeat_period
24
24
Value 4294967.000
@@ -30,7 +30,7 @@ reset slave;
30
30
set @@global.slave_net_timeout= 5;
31
31
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root', master_heartbeat_period= 5.001;
32
32
Warnings:
33
-
Warning 1624 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' sec. A sensible value for the period should be less than the timeout.
33
+
Warning 1704 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout.
set @@global.slave_net_timeout= 3 /* must be a warning */;
44
44
Warnings:
45
-
Warning 1624 The current value for master_heartbeat_period exceeds the new value of `slave_net_timeout' sec. A sensible value for the period should be less than the timeout.
45
+
Warning 1704 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout.
Copy file name to clipboardExpand all lines: mysql-test/suite/rpl/r/rpl_heartbeat_basic.result
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,14 @@ RESET SLAVE;
38
38
*** Warning if updated slave_net_timeout < slave_heartbeat_timeout ***
39
39
SET @@global.slave_net_timeout=FLOOR(SLAVE_HEARTBEAT_TIMEOUT)-1;
40
40
Warnings:
41
-
Warning 1624 The current value for master_heartbeat_period exceeds the new value of `slave_net_timeout' sec. A sensible value for the period should be less than the timeout.
41
+
Warning 1704 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout.
42
42
SET @@global.slave_net_timeout=@restore_slave_net_timeout;
43
43
RESET SLAVE;
44
44
45
45
*** Warning if updated slave_heartbeat_timeout > slave_net_timeout ***
46
46
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_HEARTBEAT_PERIOD=SLAVE_NET_TIMEOUT;
47
47
Warnings:
48
-
Warning 1624 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' sec. A sensible value for the period should be less than the timeout.
48
+
Warning 1704 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout.
49
49
RESET SLAVE;
50
50
51
51
*** CHANGE MASTER statement only updates slave_heartbeat_period ***
@@ -140,7 +140,7 @@ Slave_heartbeat_period 0.001
140
140
RESET SLAVE;
141
141
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_HEARTBEAT_PERIOD=0.0009;
142
142
Warnings:
143
-
Warning 1624 The requested value for the heartbeat period is less than 1 msec. The period is reset to zero which means no heartbeats will be sending
143
+
Warning 1703 The requested value for the heartbeat period is less than 1 millisecond. The value is reset to 0, meaning that heartbeating will effectively be disabled.
144
144
SHOW GLOBAL STATUS LIKE 'slave_heartbeat_period';
145
145
Variable_name Value
146
146
Slave_heartbeat_period 0.000
@@ -149,19 +149,19 @@ RESET SLAVE;
149
149
*** Max slave_heartbeat_timeout ***
150
150
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_HEARTBEAT_PERIOD=4294967;
151
151
Warnings:
152
-
Warning 1624 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' sec. A sensible value for the period should be less than the timeout.
152
+
Warning 1704 The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout.
153
153
SHOW GLOBAL STATUS LIKE 'slave_heartbeat_period';
154
154
Variable_name Value
155
155
Slave_heartbeat_period 4294967.000
156
156
RESET SLAVE;
157
157
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_HEARTBEAT_PERIOD=4294968;
158
-
ERROR HY000: The requested value for the heartbeat period is negative or exceeds the maximum 4294967 seconds
158
+
ERROR HY000: The requested value for the heartbeat period is either negative or exceeds the maximum allowed (4294967 seconds).
159
159
RESET SLAVE;
160
160
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_HEARTBEAT_PERIOD=8589935;
161
-
ERROR HY000: The requested value for the heartbeat period is negative or exceeds the maximum 4294967 seconds
161
+
ERROR HY000: The requested value for the heartbeat period is either negative or exceeds the maximum allowed (4294967 seconds).
162
162
RESET SLAVE;
163
163
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_HEARTBEAT_PERIOD=4294967296;
164
-
ERROR HY000: The requested value for the heartbeat period is negative or exceeds the maximum 4294967 seconds
164
+
ERROR HY000: The requested value for the heartbeat period is either negative or exceeds the maximum allowed (4294967 seconds).
eng "Plugin '%s' is force_plus_permanent and can not be unloaded"
6388
+
6389
+
ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN
6390
+
eng "The requested value for the heartbeat period is less than 1 millisecond. The value is reset to 0, meaning that heartbeating will effectively be disabled."
6391
+
6392
+
ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX
6393
+
eng "The requested value for the heartbeat period exceeds the value of `slave_net_timeout' seconds. A sensible value for the period should be less than the timeout."
0 commit comments