[MDEV-24482] galera.galera_truncate_temporary MTR failed: query failed: 1146: Table 'test.t1' doesn't exist Created: 2020-12-23  Updated: 2021-01-05  Resolved: 2021-01-04

Status: Closed
Project: MariaDB Server
Component/s: Galera, Tests
Affects Version/s: 10.5.9, 10.6.0
Fix Version/s: 10.2.37, 10.3.28, 10.4.18, 10.5.9, 10.6.0

Type: Bug Priority: Major
Reporter: Stepan Patryshev (Inactive) Assignee: Stepan Patryshev (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

kvm-deb-stretch-amd64, kvm-rpm-fedora32-amd64


Issue Links:
Relates
relates to MDEV-24462 galera.galera_truncate MTR fails: que... Closed
relates to MDEV-24464 galera.galera_toi_ddl_sequential MTR ... Closed
relates to MDEV-24465 galera.galera_rsu_error MTR failed: q... Closed
relates to MDEV-24480 galera_3nodes.GCF-363 MTR failed: que... Closed
relates to MDEV-24500 galera_sr.GCF-900 MTR failed: query f... Closed

 Description   

galera.galera_truncate_temporary failed on BB 10.5 CS and BB 10.6 CS: "query 'TRUNCATE TABLE t1' failed: 1146: Table 'test.t1' doesn't exist".
It seems to be a sporadic issue.

stdio.log:

10.5.9, 2c226e01a88e18ae8bcc7f584ac6c9c37fb800b0, kvm-rpm-fedora32-amd64

galera.galera_truncate_temporary 'innodb' w2 [ fail ]
        Test ended at 2020-12-14 19:14:16
 
CURRENT_TEST: galera.galera_truncate_temporary
mysqltest: At line 70: query 'TRUNCATE TABLE t1' failed: 1146: Table 'test.t1' doesn't exist
 
The result from queries just before the failure was:
< snip >
SELECT f1 = 1 FROM t1;
f1 = 1
1
TRUNCATE TABLE t1;
SELECT COUNT(*) = 0 FROM t1;
COUNT(*) = 0
1
connection node_2;
SELECT COUNT(*) = 0 FROM t1;
COUNT(*) = 0
1
connection node_1;
DROP TABLE t1;
connection node_1;
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
CREATE TEMPORARY TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
INSERT INTO t1 VALUES (2);
connection node_2;
TRUNCATE TABLE t1;
 
More results from queries before failure can be found in /dev/shm/var/2/log/galera_truncate_temporary.log
 
 - saving '/dev/shm/var/2/log/galera.galera_truncate_temporary-innodb/' to '/dev/shm/var/log/galera.galera_truncate_temporary-innodb/'
 
Retrying test galera.galera_truncate_temporary, attempt(2/3)...
 
worker[2] > Restart  - not started
worker[2] > Restart  - not started


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