Commit 0df4651c authored by Monty's avatar Monty

Fixed some mtr results found in Jenins after MDEV-333582 push

MDEV-33582 Add more warnings to be able to better diagnose network issues

- Disabled "Semisync ack receiver got hangup" warning
  - One could get this warning from semisync if running
    mtr --mysqld=log-warnings=3 rpl.rpl_semi_sync_shutdown_await_ack
- Fixed result file for engines/funcs/rpl_get_lock.test
parent 567c0973
...@@ -4492,6 +4492,7 @@ sub extract_warning_lines ($$) { ...@@ -4492,6 +4492,7 @@ sub extract_warning_lines ($$) {
qr/Could not write packet:.* errno: 32 /, qr/Could not write packet:.* errno: 32 /,
qr/Could not write packet:.* errno: 104 /, qr/Could not write packet:.* errno: 104 /,
qr/Semisync ack receiver got error 1158/, qr/Semisync ack receiver got error 1158/,
qr/Semisync ack receiver got hangup/,
qr/Connection was killed/, qr/Connection was killed/,
qr/Failed on request_dump/, qr/Failed on request_dump/,
qr/Slave: Can't drop database.* database doesn't exist/, qr/Slave: Can't drop database.* database doesn't exist/,
......
include/master-slave.inc include/master-slave.inc
[connection master] [connection master]
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT"); SET GLOBAL LOG_WARNINGS=4;
create table t1(n int); create table t1(n int);
insert into t1 values(get_lock("lock",2)); insert into t1 values(get_lock("lock",2));
disconnect master; disconnect master;
...@@ -35,4 +35,5 @@ NULL ...@@ -35,4 +35,5 @@ NULL
connection master1; connection master1;
drop table t1; drop table t1;
connection slave; connection slave;
connection default;
include/rpl_end.inc include/rpl_end.inc
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