mariadb/mysql-test/suite/galera_sr/r/MDEV-27615.result
Daniele Sciascia 12cad0c346 MDEV-27615 Assertion `server_id.is_undefined() == false' failed
Add test case that reproduces the issue and update wsrep-lib submodule
to include the fix.

Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
2022-01-27 09:13:21 +02:00

27 lines
879 B
Text

connection node_2;
connection node_1;
connection node_1;
connection node_2;
connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
connection node_2;
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
SET DEBUG_SYNC='wsrep_before_fragment_certification SIGNAL before_fragment WAIT_FOR continue';
SET SESSION wsrep_trx_fragment_size=1;
START TRANSACTION;
INSERT INTO t1 VALUES (1);;
connection node_2a;
SET SESSION wsrep_sync_wait = 0;
SET DEBUG_SYNC='now WAIT_FOR before_fragment';
SET GLOBAL wsrep_cluster_address = '';
SET DEBUG_SYNC = 'now SIGNAL continue';
connection node_2;
ERROR HY000: Lost connection to MySQL server during query
connection node_2a;
SELECT * FROM mysql.wsrep_streaming_log;
node_uuid trx_id seqno flags frag
SELECT * FROM t1;
f1
DROP TABLE t1;
SET DEBUG_SYNC = 'RESET';
disconnect node_2;
connect node_2, 127.0.0.1, root, , test, $NODE_MYPORT_2;