connection node_2;
connection node_1;
#
# test the order of wsrep XID storage after certification failure
#
connection node_1; set session wsrep_sync_wait=0;
create table t1 (i int primary key, j int);
insert into t1 values (4, 0);
connect node_2b, 127.0.0.1, root, , test, $NODE_MYPORT_2;
connection node_2b; set session wsrep_sync_wait=0; SET GLOBAL debug_dbug = "d,sync.wsrep_apply_cb";
connection node_1;
UPDATE test.t1 set j=1 where i=4;
connection node_2b; SET SESSION DEBUG_SYNC = "now WAIT_FOR sync.wsrep_apply_cb_reached";
connection node_2; set session wsrep_sync_wait=0; set session wsrep_retry_autocommit=0;
UPDATE test.t1 SET j=2 WHERE i=4;
connection node_2b; SET DEBUG_SYNC = "now SIGNAL signal.wsrep_apply_cb"; SET GLOBAL debug_dbug = ""; SET DEBUG_SYNC = "RESET";
connection node_2; ERROR40001: Deadlock found when trying to get lock; try restarting transaction
select * from t1;
i j 41
DROP TABLE t1;
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-10-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.