mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
0174a9ff3d
* Delete tests that are not supported and not going to be supported any time soon * Fix result set on tests that are not run on bb * Fix tests that fail because of auto increment offset * Make sure that disabled tests have open bug report
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
connection node_2;
|
|
connection node_1;
|
|
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
|
|
connection node_1;
|
|
connection node_2;
|
|
connection node_3;
|
|
connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
|
connection node_2;
|
|
SET SESSION wsrep_trx_fragment_size = 1;
|
|
SET AUTOCOMMIT=OFF;
|
|
START TRANSACTION;
|
|
INSERT INTO t1 VALUES (20);
|
|
INSERT INTO t1 VALUES (21);
|
|
INSERT INTO t1 VALUES (22);
|
|
INSERT INTO t1 VALUES (23);
|
|
INSERT INTO t1 VALUES (24);
|
|
connection node_1;
|
|
connection node_2a;
|
|
SET GLOBAL wsrep_provider_options='gmcast.isolate=1';
|
|
SET WSREP_ON=ON;
|
|
connection node_1;
|
|
connection node_2a;
|
|
SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
|
|
connection node_1;
|
|
connection node_1;
|
|
SELECT COUNT(DISTINCT node_uuid) = 1 FROM mysql.wsrep_streaming_log;
|
|
COUNT(DISTINCT node_uuid) = 1
|
|
0
|
|
connection node_2;
|
|
COMMIT;
|
|
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
|
|
SELECT * FROM t1;
|
|
f1
|
|
COMMIT;
|
|
connection node_1;
|
|
SELECT * FROM t1;
|
|
f1
|
|
DROP TABLE t1;
|
|
connection node_2;
|
|
CALL mtr.add_suppression("WSREP: failed to send SR rollback for ");
|