| 1 |
# Release the blocked INSERT to log_recent_closed_freeze_t. |
| 2 |
SET DEBUG_SYNC = "now SIGNAL btr_ins_resume"; |
| 3 |
|
| 4 |
# Wait until the INSERT is finished. |
| 5 |
--connection con_log_recent_closed_freeze |
| 6 |
reap; |
| 7 |
|
| 8 |
# Do not block any further INSERT in this connection. |
| 9 |
SET DEBUG = "-d,btr_ins_pause_on_mtr_redo_before_add_dirty_blocks"; |
| 10 |
SET DEBUG_SYNC = "mtr_redo_before_add_dirty_blocks CLEAR"; |
| 11 |
|
| 12 |
# Clear the signal (we were waiting with NO_CLEAR_EVENT in btr0cur.cc). |
| 13 |
SET DEBUG_SYNC = "now WAIT_FOR btr_ins_resume"; |
| 14 |
|
| 15 |
# Commit the released INSERT (some redo log is generated). |
| 16 |
COMMIT; |
| 17 |
|
| 18 |
# Cleanup (again, some redo log is generated). |
| 19 |
DROP TABLE log_recent_closed_freeze_t; |
| 20 |
disconnect con_log_recent_closed_freeze; |
| 21 |
--connection default |