Skip to content

Commit

Permalink
[MTR]Fix rpl_raft_dump_raft_logs
Browse files Browse the repository at this point in the history
Summary:
This tests completes but fails because the following warning exists:
```
2022-08-30T16:28:00.159525Z 11 [ERROR] [MY-013114] [Repl] Slave I/O for channel '': Got fatal error 1236 from master when reading data from binary log: 'Slave has more GTIDs than the master has, using the master's SERVER_UUID. This may indicate that the end of the binary log was truncated or that the last binary log file was lost, e.g., after a power or disk failure when sync_binlog != 1. The master may or may not have rolled back transactions that were already replicated to the slave. Suggest to replicate any transactions that master has rolled back from slave to master, and/or commit empty transactions on master to account for transactions that have been', Error_code: MY-013114
```
Since the MTR result file is valid, we can suppress this error.

Test Plan: `bash ~/mysql/tools/mysqltest-internal.sh --jenkins --testset=Rpl_raft --raft --workers=4 --parallel=4 rpl_raft_dump_raft_logs`

Reviewers: luqun, pgl, yichenshen, #mysql_dar

Reviewed By: yichenshen

Subscribers: dylancali, [email protected]

Differential Revision: https://phabricator.intern.facebook.com/D39141846

Tasks: T98058273
  • Loading branch information
alanliang committed Sep 8, 2022
1 parent 671ffae commit 8e7fdb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mysql-test/suite/rpl_raft/t/rpl_raft_dump_raft_logs.test
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ select * from t1;
connection server_5;
select * from t1;

--disable_query_log
connection server_1;
call mtr.add_suppression("Slave has more GTIDs than the master has, using the master's SERVER_UUID");
--enable_query_log

# Cleanup
connection server_1;
drop table t1;
Expand Down

0 comments on commit 8e7fdb8

Please sign in to comment.