| 1 |
call mtr.add_suppression("Checksum mismatch in the first page of file"); |
| 2 |
show variables like 'innodb_doublewrite'; |
| 3 |
Variable_name Value |
| 4 |
innodb_doublewrite ON |
| 5 |
create table t1(f1 int not null, f2 int not null)engine=innodb; |
| 6 |
insert into t1 values (1, 1); |
| 7 |
SET GLOBAL innodb_fast_shutdown = 0; |
| 8 |
# restart: --debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0 |
| 9 |
# Make the first page dirty for undo tablespace |
| 10 |
set global innodb_saved_page_number_debug = 0; |
| 11 |
set global innodb_fil_make_page_dirty_debug = 1; |
| 12 |
SET GLOBAL innodb_buf_flush_list_now = 1; |
| 13 |
# Kill the server |
| 14 |
# restart: --debug_dbug=+d,ib_log_checkpoint_avoid_hard --innodb_flush_sync=0 |
| 15 |
FOUND 1 /Recovered page \[page id: space=1, page number=0\] to '.*undo001' from the doublewrite buffer\./ in mysqld.1.err |
| 16 |
check table t1; |
| 17 |
Table Op Msg_type Msg_text |
| 18 |
test.t1 check status OK |
| 19 |
drop table t1; |