[MDEV-25962] binlog.binlog_truncate_multi_log_unsafe test fails in buildbot Created: 2021-06-18  Updated: 2023-11-27  Resolved: 2021-08-16

Status: Closed
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.6, 10.7
Fix Version/s: 10.6.5, 10.7.0

Type: Bug Priority: Major
Reporter: Sujatha Sivakumar (Inactive) Assignee: Sujatha Sivakumar (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

Test fails with different reasons.

http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2/builds/29419/steps/mtr_nm/logs/stdio

binlog.binlog_truncate_multi_log_unsafe 'innodb,row' w3 [ fail ]  timeout after 900 seconds
        Test ended at 2021-06-14 14:48:53
 
Test case timeout after 900 seconds
 
== /dev/shm/var/3/log/binlog_truncate_multi_log_unsafe.log == 
connection master1;
SET DEBUG_SYNC= "commit_after_release_LOCK_after_binlog_sync SIGNAL master1_ready WAIT_FOR master1_go";
INSERT INTO ti VALUES (5 - 1, REPEAT("x", 4100));
connection master2;
SET DEBUG_SYNC= "commit_before_get_LOCK_commit_ordered SIGNAL master2_ready WAIT_FOR master2_go";
INSERT INTO ti VALUES (5, REPEAT("x", 1));
connection master3;
SET DEBUG_SYNC= "now WAIT_FOR master2_ready";
SET DEBUG_SYNC= "commit_before_get_LOCK_after_binlog_sync SIGNAL master3_ready";
INSERT INTO tm VALUES (2);
connection default;
SET DEBUG_SYNC= "now WAIT_FOR master3_ready";
Warnings:
Warning	1639	debug sync point wait timed out
# The gtid binlog state prior the crash must be restored at the end of the test;
SELECT @@global.gtid_binlog_state;
@@global.gtid_binlog_state
0-1-8
# Kill the server
# Failed restart as the semisync slave



 Comments   
Comment by Sujatha Sivakumar (Inactive) [ 2021-06-22 ]

Hello Andrei,

Can you please review fix for MDEV-25958 and MDEV-25962

https://github.com/MariaDB/server/commit/b74958c034a9fa73dc765a966657651774b2c9f2

Test results of new BB: https://buildbot.mariadb.org/#/grid?branch=bb-10.6-sujatha
Test results of old BB: http://buildbot.askmonty.org/buildbot/grid?category=main&branch=bb-10.6-sujatha

Thank you.

Comment by Andrei Elkin [ 2021-08-12 ]

Thanks for a good refinement patch! I only spotted one unfortunate naming in the patch's base, that you could pick up. Please check the github page.

Approved either way .

Generated at Thu Feb 08 09:41:43 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.