mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00
Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
- invalidate ndb dict cache on cluster disconnect (ClusterMgr.cpp) - add check for correct frm on external lock when table cache is found invalid
This commit is contained in:
9
mysql-test/r/ndb_autodiscover3.result
Normal file
9
mysql-test/r/ndb_autodiscover3.result
Normal file
@@ -0,0 +1,9 @@
|
||||
drop table if exists t1;
|
||||
create table t1 (a int key) engine=ndbcluster;
|
||||
begin;
|
||||
insert into t1 values (1);
|
||||
insert into t1 values (2);
|
||||
ERROR HY000: Got temporary error 4025 'Node failure caused abort of transaction' from ndbcluster
|
||||
commit;
|
||||
ERROR HY000: Got error 4350 'Transaction already aborted' from ndbcluster
|
||||
drop table t1;
|
Reference in New Issue
Block a user