1
0
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:
tomas@poseidon.ndb.mysql.com
2006-05-15 16:23:59 +02:00
parent 133a5d17f7
commit fe9934c9fe
11 changed files with 149 additions and 1 deletions

View 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;