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
66
66
2 1 2
67
67
truncate table t2;
68
68
connection 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 ';
70
70
insert into t1 values (1,1);
71
71
connection default;
72
72
set debug_sync='now WAIT_FOR parked1';
73
73
connection 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 ';
75
75
insert into t2 values (1,1,1);
76
76
connection default;
77
77
set debug_sync='now WAIT_FOR parked2';
@@ -82,7 +82,8 @@ ERROR HY000: Lock wait timeout exceeded; try restarting transaction
82
82
insert into t2 values (2,1,2);
83
83
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
84
84
connection default;
85
- set debug_sync='now SIGNAL go';
85
+ set debug_sync='now SIGNAL go1';
86
+ set debug_sync='now SIGNAL go2';
86
87
connection con1;
87
88
connection con2;
88
89
connection default;
Original file line number Diff line number Diff line change @@ -102,14 +102,14 @@ truncate table t2;
102
102
103
103
# 4) simulating T1 GetForUpdate() -> T2 GetForUpdate(). T2 should fail with lock wait timeout.
104
104
connection 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 ';
106
106
send insert into t1 values (1,1);
107
107
108
108
connection default;
109
109
set debug_sync='now WAIT_FOR parked1';
110
110
111
111
connection 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 ';
113
113
send insert into t2 values (1,1,1);
114
114
115
115
connection default;
@@ -123,7 +123,8 @@ insert into t1 values (1,2);
123
123
insert into t2 values (2,1,2);
124
124
125
125
connection default;
126
- set debug_sync='now SIGNAL go';
126
+ set debug_sync='now SIGNAL go1';
127
+ set debug_sync='now SIGNAL go2';
127
128
128
129
connection con1;
129
130
reap;
You can’t perform that action at this time.
0 commit comments