[MDEV-29878] Galera test failure on MDEV-26575 Created: 2022-10-26  Updated: 2023-12-12  Resolved: 2022-11-29

Status: Closed
Project: MariaDB Server
Component/s: Galera, XA
Affects Version/s: 10.4
Fix Version/s: 10.4.28, 10.5.19, 10.6.12, 10.7.8, 10.8.7, 10.9.5, 10.10.3

Type: Bug Priority: Major
Reporter: Jan Lindström (Inactive) Assignee: Daniele Sciascia
Resolution: Fixed Votes: 0
Labels: None

Attachments: File MDEV-26575.log     File grastate.dat     File mysqld.1.err     File mysqld.2.err     File tc.log    
Issue Links:
Blocks
blocks MDEV-30172 Galera test case cleanup Stalled

 Description   

galera.MDEV-26575 'innodb'               w1 [ fail ]  Found warnings/errors in server log file!
        Test ended at 2022-10-26 08:35:01
line
Attempting backtrace. You can use the following information to find out
^ Found warnings in /home/jan/mysql/10.4/mysql-test/var/1/log/mysqld.2.err
ok
 
 - saving '/home/jan/mysql/10.4/mysql-test/var/1/log/galera.MDEV-26575-innodb/' to '/home/jan/mysql/10.4/mysql-test/var/log/galera.MDEV-26575-innodb/'



 Comments   
Comment by Daniele Sciascia [ 2022-11-11 ]

Test galera.MDEV-26575 runs successfully in isolation. To reproduce, it is necessary to run MDEV-25389 before MDEV-26575:

./mtr --suite galera MDEV-25389 MDEV-26575

It turns out that test MDEV-25389 simulates a failure while starting an additional applier thread in start_wsrep_THD(). The error handling there is not correct, and does not clear the failed THD. A subsequent test (in this case it happens to be MDEV-26575), that attempts to restart a node will have trouble closing the THD during shutdown. Eventually causing the error reported in this ticket.

Comment by Jan Lindström (Inactive) [ 2022-11-29 ]
Generated at Thu Feb 08 10:11:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.