Debian Codegraph @

mysql-test/suite/innodb/t/innodb_redo_debug_6.test

raw
1 #------------------------------------------------------------------------------
2 # Redo log optimization
3 # Test aims to verify recovery works when server is stopped in debug point
4 # 1) log_before_checkpoint_flush
5 # 2) log_before_checkpoint_lsn_update
6 # 3) log_before_checkpoint_limits_update
7 # 4) log_before_checkpoint_data_flush
8 # 5) log_wait_for_flush_before_flushed_to_disk_lsn
9 # 6) log_wait_for_flush_before_wait
10 #------------------------------------------------------------------------------
11
12 # Test uses debug binary
13 --source include/have_debug.inc
14 --source include/have_debug_sync.inc
15 --source include/not_valgrind.inc
16 # Avoid CrashReporter popup on Mac
17 --source include/not_crashrep.inc
18
19 --echo # Test with log_before_checkpoint_flush
20 --source include/expect_crash.inc
21 # No. of parallel client running load
22 let client_cnt=5;
23 let debug_point=log_before_checkpoint_flush;
24 --source suite/innodb/include/innodb_redo_debug.inc
25
26 --echo # Test with log_before_checkpoint_lsn_update
27 --source include/expect_crash.inc
28 # No. of parallel client running load
29 let client_cnt=5;
30 let debug_point=log_before_checkpoint_lsn_update;
31 --source suite/innodb/include/innodb_redo_debug.inc
32
33 --echo # Test with log_before_checkpoint_limits_update
34 --source include/expect_crash.inc
35 # No. of parallel client running load
36 let client_cnt=5;
37 let debug_point=log_before_checkpoint_limits_update;
38 --source suite/innodb/include/innodb_redo_debug.inc
39
40 --echo # Test with log_before_checkpoint_data_flush
41 --source include/expect_crash.inc
42 # No. of parallel client running load
43 let client_cnt=5;
44 let debug_point=log_before_checkpoint_data_flush;
45 --source suite/innodb/include/innodb_redo_debug.inc
46
47 --echo # Test with log_wait_for_flush_before_flushed_to_disk_lsn
48 --source include/expect_crash.inc
49 # No. of parallel client running load
50 let client_cnt=5;
51 let debug_point=log_wait_for_flush_before_flushed_to_disk_lsn;
52 --source suite/innodb/include/innodb_redo_debug.inc
53
54 --echo # Test with log_wait_for_flush_before_wait
55 --source include/expect_crash.inc
56 # No. of parallel client running load
57 let client_cnt=5;
58 let debug_point=log_wait_for_flush_before_wait;
59 --source suite/innodb/include/innodb_redo_debug.inc
60
61 call mtr.add_suppression("Database page corruption or a failed file read of page");