mirror of
https://github.com/MariaDB/server.git
synced 2025-02-09 23:24:11 +01:00
![sjaakola](/assets/img/avatar_default.png)
This commit contains a fix, where the replication write set for a CREATE TABLE will contain, as certification keys, table names for all FK references. With this, all DML for the FK parent tables will conflict with the CREATE TABLE statement. There is also new test galera.MDEV-27276 to verify the fix. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
17 lines
535 B
Text
17 lines
535 B
Text
connection node_2;
|
|
connection node_1;
|
|
connection node_1;
|
|
connection node_2;
|
|
call mtr.add_suppression("WSREP: TO isolation failed for: ");
|
|
connection node_1;
|
|
call mtr.add_suppression("CREATE TABLE isolation failure");
|
|
connection node_2;
|
|
Killing server ...
|
|
connection node_1;
|
|
SET SESSION lock_wait_timeout= 3;
|
|
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
|
connection node_2;
|
|
connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
|
|
disconnect node_2;
|
|
disconnect node_1;
|