| 1 |
#------------------------------------------------------------------------------ |
| 2 |
# Redo log optimization |
| 3 |
# Test aims to verify recovery works when server is stopped in debug point |
| 4 |
# 1) log_writer_write_end |
| 5 |
# 2) log_writer_before_write_from_log_buffer |
| 6 |
# 3) log_writer_before_copy_to_write_ahead_buffer |
| 7 |
# 4) log_writer_before_write_ahead |
| 8 |
#------------------------------------------------------------------------------ |
| 9 |
|
| 10 |
# Test uses debug binary |
| 11 |
--source include/have_debug.inc |
| 12 |
--source include/have_debug_sync.inc |
| 13 |
--source include/not_valgrind.inc |
| 14 |
# Avoid CrashReporter popup on Mac |
| 15 |
--source include/not_crashrep.inc |
| 16 |
|
| 17 |
--echo # Test with log_writer_write_end |
| 18 |
--source include/expect_crash.inc |
| 19 |
# No. of parallel client running load |
| 20 |
let client_cnt=5; |
| 21 |
let debug_point=log_writer_write_end; |
| 22 |
--source suite/innodb/include/innodb_redo_debug.inc |
| 23 |
|
| 24 |
--echo # Test with log_writer_before_write_from_log_buffer |
| 25 |
--source include/expect_crash.inc |
| 26 |
# No. of parallel client running load |
| 27 |
let client_cnt=5; |
| 28 |
let debug_point=log_writer_before_write_from_log_buffer; |
| 29 |
--source suite/innodb/include/innodb_redo_debug.inc |
| 30 |
|
| 31 |
--echo # Test with log_writer_before_copy_to_write_ahead_buffer |
| 32 |
--source include/expect_crash.inc |
| 33 |
# No. of parallel client running load |
| 34 |
let client_cnt=5; |
| 35 |
let debug_point=log_writer_before_copy_to_write_ahead_buffer; |
| 36 |
--source suite/innodb/include/innodb_redo_debug.inc |
| 37 |
|
| 38 |
--echo # Test with log_writer_before_write_ahead |
| 39 |
--source include/expect_crash.inc |
| 40 |
# No. of parallel client running load |
| 41 |
let client_cnt=5; |
| 42 |
let debug_point=log_writer_before_write_ahead; |
| 43 |
--source suite/innodb/include/innodb_redo_debug.inc |
| 44 |
|
| 45 |
--echo # Test with log_writer_before_lsn_update |
| 46 |
--source include/expect_crash.inc |
| 47 |
# No. of parallel client running load |
| 48 |
let client_cnt=5; |
| 49 |
let debug_point=log_writer_before_lsn_update; |
| 50 |
--source suite/innodb/include/innodb_redo_debug.inc |