Browse Source
Fiix random test failures on fil_decompress_page_2 function.
Fiix random test failures on fil_decompress_page_2 function.
Analysis: InnoDB writes also files that do not contain FIL-header. This could lead incorrect analysis on os_fil_read_func function when it tries to see is page page compressed based on FIL_PAGE_TYPE field on FIL-header. With bad luck uncompressed page that does not contain FIL-headed, the byte on FIL_PAGE_TYPE position could indicate that page is page comrpessed. Fix: Upper layer must indicate is file space page compressed or not. If this is not yet known, we need to read the FIL-header and find it out. Files that we know that are not page compressed we can always just provide FALSE.pull/9/head
23 changed files with 261 additions and 105 deletions
-
6storage/innobase/buf/buf0dblwr.cc
-
46storage/innobase/fil/fil0fil.cc
-
6storage/innobase/fil/fil0pagecompress.cc
-
8storage/innobase/include/fil0fil.h
-
8storage/innobase/include/fil0pagecompress.h
-
29storage/innobase/include/os0file.h
-
8storage/innobase/include/os0file.ic
-
48storage/innobase/os/os0file.cc
-
4storage/innobase/row/row0log.cc
-
3storage/innobase/row/row0merge.cc
-
3storage/innobase/srv/srv0start.cc
-
6storage/xtradb/buf/buf0dblwr.cc
-
46storage/xtradb/fil/fil0fil.cc
-
6storage/xtradb/fil/fil0pagecompress.cc
-
8storage/xtradb/include/fil0fil.h
-
8storage/xtradb/include/fil0pagecompress.h
-
45storage/xtradb/include/os0file.h
-
8storage/xtradb/include/os0file.ic
-
4storage/xtradb/log/log0online.cc
-
57storage/xtradb/os/os0file.cc
-
4storage/xtradb/row/row0log.cc
-
3storage/xtradb/row/row0merge.cc
-
2storage/xtradb/srv/srv0start.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue