mariadb/storage
Marko Mäkelä 2b5c9bc2c8 MDEV-13247 innodb_log_compressed_pages=OFF breaks crash recovery of ROW_FORMAT=COMPRESSED tables
The option innodb_log_compressed_pages was contributed by
Facebook to MySQL 5.6. It was disabled in the 5.6.10 GA release
due to problems that were fixed in 5.6.11, which is when the
option was enabled.

The option was set to innodb_log_compressed_pages=ON by default
(disabling the feature), because safety was considered more
important than speed. The option innodb_log_compressed_pages=OFF
can *CORRUPT* ROW_FORMAT=COMPRESSED tables on crash recovery
if the zlib deflate function is behaving differently (producing
a different amount of compressed data) from how it behaved
when the redo log records were written (prior to the crash recovery).

In MDEV-6935, the default value was changed to
innodb_log_compressed_pages=OFF. This is inherently unsafe, because
there are very many different environments where MariaDB can be
running, using different zlib versions. While zlib can decompress
data just fine, there are no guarantees that different versions will
always compress the same data to the exactly same size. To avoid
problems related to zlib upgrades or version mismatch, we must
use a safe default setting.

This will reduce the write performance for users of
ROW_FORMAT=COMPRESSED tables. If you configure
innodb_log_compressed_pages=ON, please make sure that you will
always cleanly shut down InnoDB before upgrading the server
or zlib.
2017-07-06 14:18:53 +03:00
..
archive Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
blackhole
cassandra Correct FSF address 2017-03-10 18:21:29 +01:00
connect Merge 10.0 into 10.1 2017-05-23 08:59:03 +03:00
csv Merge 10.0 into 10.1 2017-05-23 08:59:03 +03:00
example
federated Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
federatedx MDEV-11311 Create federated table does not work as expected. 2017-05-24 11:59:03 +02:00
heap Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
innobase MDEV-13247 innodb_log_compressed_pages=OFF breaks crash recovery of ROW_FORMAT=COMPRESSED tables 2017-07-06 14:18:53 +03:00
maria Merge 10.0 into 10.1 2017-05-23 08:59:03 +03:00
mroonga Correct FSF address 2017-03-10 18:21:29 +01:00
myisam MDEV-13097 Online alter of a partitioned MyISAM table with auto_increment 2017-06-22 12:56:33 +02:00
myisammrg Merge branch '10.0' into 10.1 2016-05-04 15:23:26 +02:00
oqgraph Correct FSF address 2017-03-10 18:21:29 +01:00
perfschema Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
sequence test for group by pushdown with a view 2016-05-05 01:05:05 +02:00
sphinx Merge 10.0 into 10.1 2017-05-19 12:29:37 +03:00
spider Run spider mtr suites in 10.1 only on demand. 2017-06-30 16:17:29 -07:00
test_sql_discovery MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL 2015-09-22 14:01:54 +04:00
tokudb Merge tag 'mariadb-10.0.31' into 10.0-galera 2017-05-30 15:28:52 +05:30
xtradb MDEV-13247 innodb_log_compressed_pages=OFF breaks crash recovery of ROW_FORMAT=COMPRESSED tables 2017-07-06 14:18:53 +03:00