New server warning in MTR testcase rpl_gtid.rpl_check_gtid

Description

8.0 trunk:

190408 2:02:32 [ 23%] rpl_gtid.rpl_check_gtid 'mix' w1 [ fail ] Found warnings/errors in server log file! Test ended at 2019-04-08 02:02:32 line 2019-04-08T02:00:55.998511Z 0 [Warning] [MY-000000] [Server] binlog truncated in the middle of event; consider out of disk space 2019-04-08T02:01:17.832891Z 0 [Warning] [MY-000000] [Server] binlog truncated in the middle of event; consider out of disk space 2019-04-08T02:01:40.845503Z 0 [Warning] [MY-000000] [Server] binlog truncated in the middle of event; consider out of disk space 2019-04-08T02:02:00.768050Z 0 [Warning] [MY-000000] [Server] binlog truncated in the middle of event; consider out of disk space ^ Found warnings in /tmp/results/PS/mysql-test/var/1/log/mysqld.2.err ok

This is a regression of https://perconadev.atlassian.net/browse/PS-5105#icft=PS-5105, caused by added extra diagnostic output to server error log:

@@ -3928,6 +3941,7 @@ static bool read_gtids_and_update_trx_parser_from_relaylog( // This is not a fatal error; the log may just be truncated. // @todo but what other errors could happen? IO error? LogErr(WARNING_LEVEL, ER_BINLOG_ERROR_READING_GTIDS_FROM_RELAY_LOG, -1); + sql_print_warning(relaylog_file_reader.get_error_str()); } #ifndef DBUG_OFF

Environment

None

is caused by

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Time tracking

7m logged

Fix versions

Affects versions

Priority

Smart Checklist

Created April 9, 2019 at 12:40 PM
Updated March 6, 2024 at 12:13 PM
Resolved April 9, 2019 at 1:43 PM

Flag notifications