mariadb/mysql-test/suite/galera/r/mdev-36554.result
Pekka Lampio 603afc82d2 MDEV-36554: Assertion `is_wsrep() == wsrep_on(mysql_thd)' failed in void trx_t::commit_in_memory(const mtr_t*)
This bug fix prevents debug assertion failure when Galera feature
retry applying is enabled. This patch introduces also a general
mechanism for temporarily disabling some debug assertions in InnoDB
code.

Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
2025-08-04 14:58:18 +02:00

25 lines
731 B
Text

connection node_2;
connection node_1;
CALL mtr.add_suppression("Event .* Update_rows.* apply failed");
CALL mtr.add_suppression("mariadbd: Can't find record in 't1'");
CALL mtr.add_suppression("Failed to apply write set.*");
CALL mtr.add_suppression("Inconsistency detected");
connection node_1;
CREATE TABLE t1 (f1 INTEGER);
INSERT INTO t1 VALUES (1);
connection node_2;
SET SESSION wsrep_on = OFF;
DELETE FROM t1;
SET SESSION wsrep_on = ON;
SET GLOBAL wsrep_applier_retry_count=1;
connection node_1;
UPDATE t1 SET f1 = f1 + 1;
connection node_2;
Shutting down server ...
SET wsrep_on=OFF;
Restarting server ...
connection node_1;
SET wsrep_sync_wait=0;
connection node_1;
SET GLOBAL wsrep_applier_retry_count = 0;
DROP TABLE t1;