mirror of
https://github.com/MariaDB/server.git
synced 2025-02-09 23:24:11 +01:00
![Jan Lindström](/assets/img/avatar_default.png)
During SST we need to let FTWRL to use normal timeout method even when client is disconnected.
19 lines
579 B
Text
19 lines
579 B
Text
connection node_2;
|
|
connection node_1;
|
|
connection node_1;
|
|
connection node_2;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 INT);
|
|
INSERT INTO t1 VALUES (1, 1);
|
|
SET DEBUG_SYNC = "before_lock_tables_takes_lock SIGNAL sync_point_reached WAIT_FOR sync_point_continue";
|
|
UPDATE t1 SET f2 = 2 WHERE f1 = 1;
|
|
connection node_1_ctrl;
|
|
SET DEBUG_SYNC = "now WAIT_FOR sync_point_reached";
|
|
connection node_2;
|
|
connection node_1_ctrl;
|
|
SET DEBUG_SYNC = "now SIGNAL sync_point_continue";
|
|
connection node_1;
|
|
SET DEBUG_SYNC = "RESET";
|
|
connection node_2;
|
|
connection node_1;
|
|
DROP TABLE t1;
|