File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
storage/rocksdb/mysql-test/rocksdb Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,12 @@ id id2 value
66662 1 2
6767truncate table t2;
6868connection con1;
69- set debug_sync='rocksdb.update_write_row_after_unique_check SIGNAL parked1 WAIT_FOR go ';
69+ set debug_sync='rocksdb.update_write_row_after_unique_check SIGNAL parked1 WAIT_FOR go1 ';
7070insert into t1 values (1,1);
7171connection default;
7272set debug_sync='now WAIT_FOR parked1';
7373connection con2;
74- set debug_sync='rocksdb.update_write_row_after_unique_check SIGNAL parked2 WAIT_FOR go ';
74+ set debug_sync='rocksdb.update_write_row_after_unique_check SIGNAL parked2 WAIT_FOR go2 ';
7575insert into t2 values (1,1,1);
7676connection default;
7777set debug_sync='now WAIT_FOR parked2';
@@ -82,7 +82,8 @@ ERROR HY000: Lock wait timeout exceeded; try restarting transaction
8282insert into t2 values (2,1,2);
8383ERROR HY000: Lock wait timeout exceeded; try restarting transaction
8484connection default;
85- set debug_sync='now SIGNAL go';
85+ set debug_sync='now SIGNAL go1';
86+ set debug_sync='now SIGNAL go2';
8687connection con1;
8788connection con2;
8889connection default;
Original file line number Diff line number Diff line change @@ -102,14 +102,14 @@ truncate table t2;
102102
103103# 4) simulating T1 GetForUpdate() -> T2 GetForUpdate(). T2 should fail with lock wait timeout.
104104connection con1;
105- set debug_sync='rocksdb.update_write_row_after_unique_check SIGNAL parked1 WAIT_FOR go ';
105+ set debug_sync='rocksdb.update_write_row_after_unique_check SIGNAL parked1 WAIT_FOR go1 ';
106106send insert into t1 values (1,1);
107107
108108connection default;
109109set debug_sync='now WAIT_FOR parked1';
110110
111111connection con2;
112- set debug_sync='rocksdb.update_write_row_after_unique_check SIGNAL parked2 WAIT_FOR go ';
112+ set debug_sync='rocksdb.update_write_row_after_unique_check SIGNAL parked2 WAIT_FOR go2 ';
113113send insert into t2 values (1,1,1);
114114
115115connection default;
@@ -123,7 +123,8 @@ insert into t1 values (1,2);
123123insert into t2 values (2,1,2);
124124
125125connection default;
126- set debug_sync='now SIGNAL go';
126+ set debug_sync='now SIGNAL go1';
127+ set debug_sync='now SIGNAL go2';
127128
128129connection con1;
129130reap;
You can’t perform that action at this time.
0 commit comments