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