Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL)
-
None
Description
10.6 44fd2c4b2 |
rpl.rpl_parallel_29322 'mix' w3 [ fail ] Found warnings/errors in server log file!
|
Test ended at 2022-09-20 17:13:53
|
line
|
2022-09-20 17:13:52 12 [ERROR] I/O error reading the header from the binary log, errno=175, io cache code=0
|
^ Found warnings in /dev/shm/var/3/log/mysqld.1.err
|
ok
|
The root cause appears to be as follows:
I was not able to easily reproduce the condition where the dump thread survives for longer. But it seems clear that this can happen. The dump thread terminates when it tries to send an event to the slave on a TCP connection that is closed. But the close on the TCP socket (TCP RESET packet) could be seen with some delay, which can then delay stop of the dump thread.
So I think the solution is to ensure the dump thread is gone before manipulating binlog files. Or alternatively just suppress this error in the log with a suitable comment.