|
1 | 1 | select @@global.slave_transaction_retry_errors;
|
2 | 2 | @@global.slave_transaction_retry_errors
|
3 |
| -1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400 |
| 3 | +1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400 |
4 | 4 | select @@session.slave_transaction_retry_errors;
|
5 | 5 | ERROR HY000: Variable 'slave_transaction_retry_errors' is a GLOBAL variable
|
6 | 6 | show global variables like 'slave_transaction_retry_errors';
|
7 | 7 | Variable_name Value
|
8 |
| -slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400 |
| 8 | +slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400 |
9 | 9 | show session variables like 'slave_transaction_retry_errors';
|
10 | 10 | Variable_name Value
|
11 |
| -slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400 |
| 11 | +slave_transaction_retry_errors 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400 |
12 | 12 | select * from information_schema.global_variables where variable_name='slave_transaction_retry_errors';
|
13 | 13 | VARIABLE_NAME VARIABLE_VALUE
|
14 |
| -SLAVE_TRANSACTION_RETRY_ERRORS 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400 |
| 14 | +SLAVE_TRANSACTION_RETRY_ERRORS 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400 |
15 | 15 | select * from information_schema.session_variables where variable_name='slave_transaction_retry_errors';
|
16 | 16 | VARIABLE_NAME VARIABLE_VALUE
|
17 |
| -SLAVE_TRANSACTION_RETRY_ERRORS 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,400 |
| 17 | +SLAVE_TRANSACTION_RETRY_ERRORS 1158,1159,1160,1161,1205,1213,1429,2013,12701,10,20,5000,400 |
18 | 18 | set global slave_transaction_retry_errors=1;
|
19 | 19 | ERROR HY000: Variable 'slave_transaction_retry_errors' is a read only variable
|
20 | 20 | set session slave_transaction_retry_errors=1;
|
|
0 commit comments