mariadb/storage/innobase
Marko Mäkelä 8451e09073 MDEV-11556 InnoDB redo log apply fails to adjust data file sizes
fil_space_t::recv_size: New member: recovered tablespace size in pages;
0 if no size change was read from the redo log,
or if the size change was implemented.

fil_space_set_recv_size(): New function for setting space->recv_size.

innodb_data_file_size_debug: A debug parameter for setting the system
tablespace size in recovery even when the redo log does not contain
any size changes. It is hard to write a small test case that would
cause the system tablespace to be extended at the critical moment.

recv_parse_log_rec(): Note those tablespaces whose size is being changed
by the redo log, by invoking fil_space_set_recv_size().

innobase_init(): Correct an error message, and do not require a larger
innodb_buffer_pool_size when starting up with a smaller innodb_page_size.

innobase_start_or_create_for_mysql(): Allow startup with any initial
size of the ibdata1 file if the autoextend attribute is set. Require
the minimum size of fixed-size system tablespaces to be 640 pages,
not 10 megabytes. Implement innodb_data_file_size_debug.

open_or_create_data_files(): Round the system tablespace size down
to pages, not to full megabytes, (Our test truncates the system
tablespace to more than 800 pages with innodb_page_size=4k.
InnoDB should not imagine that it was truncated to 768 pages
and then overwrite good pages in the tablespace.)

fil_flush_low(): Refactored from fil_flush().

fil_space_extend_must_retry(): Refactored from
fil_extend_space_to_desired_size().

fil_mutex_enter_and_prepare_for_io(): Extend the tablespace if
fil_space_set_recv_size() was called.

The test case has been successfully run with all the
innodb_page_size values 4k, 8k, 16k, 32k, 64k.
2016-12-30 09:52:24 +02:00
..
api MDEV-9282 Debian: the Lintian complains about "shlib-calls-exit" in ha_innodb.so 2016-12-28 15:54:24 +02:00
btr MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 09:09:51 +02:00
buf MDEV-9282 Debian: the Lintian complains about "shlib-calls-exit" in ha_innodb.so 2016-12-28 15:54:24 +02:00
data 5.6.31 2016-06-21 14:21:03 +02:00
dict Merge branch '10.0' into 10.1 2016-12-19 17:15:25 +02:00
dyn move to storage/innobase 2015-05-04 19:17:21 +02:00
eval move to storage/innobase 2015-05-04 19:17:21 +02:00
fil MDEV-11556 InnoDB redo log apply fails to adjust data file sizes 2016-12-30 09:52:24 +02:00
fsp Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
fts MDEV-11233 CREATE FULLTEXT INDEX with a token longer than 127 bytes 2016-12-05 15:25:59 +02:00
fut move to storage/innobase 2015-05-04 19:17:21 +02:00
ha move to storage/innobase 2015-05-04 19:17:21 +02:00
handler MDEV-11556 InnoDB redo log apply fails to adjust data file sizes 2016-12-30 09:52:24 +02:00
ibuf MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 09:09:51 +02:00
include MDEV-11556 InnoDB redo log apply fails to adjust data file sizes 2016-12-30 09:52:24 +02:00
lock MDEV-11168: InnoDB: Failing assertion: !other_lock || wsrep_thd_is_BF(lock->trx->mysql_thd, FALSE) || wsrep_thd_is_BF(other_lock->trx->mysql_thd, FALSE) 2016-12-02 11:08:18 +02:00
log MDEV-11556 InnoDB redo log apply fails to adjust data file sizes 2016-12-30 09:52:24 +02:00
mach move to storage/innobase 2015-05-04 19:17:21 +02:00
mem 5.6.31 2016-06-21 14:21:03 +02:00
mtr Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
mysql-test/storage_engine Follow-up for MDEV-8675 and MDEV-8676 2015-09-14 03:12:54 +03:00
os MDEV-9282 Debian: the Lintian complains about "shlib-calls-exit" in ha_innodb.so 2016-12-28 15:54:24 +02:00
page Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
pars Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
que 5.6.24 2015-05-04 22:13:46 +02:00
read move to storage/innobase 2015-05-04 19:17:21 +02:00
rem Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
row MDEV-9282 Debian: the Lintian complains about "shlib-calls-exit" in ha_innodb.so 2016-12-28 15:54:24 +02:00
srv MDEV-11556 InnoDB redo log apply fails to adjust data file sizes 2016-12-30 09:52:24 +02:00
sync MDEV-11349 (1/2) Fix some clang 4.0 warnings 2016-11-25 09:09:51 +02:00
trx MDEV-11236 Failing assertion: state == TRX_STATE_NOT_STARTED 2016-12-02 16:25:47 +02:00
usr move to storage/innobase 2015-05-04 19:17:21 +02:00
ut MDEV-8684: Remove delaying maths in ut_delay 2016-03-31 16:35:19 +11:00
CMakeLists.txt Do not build optimised power crc32 on bigendian 2015-12-18 17:15:06 +11:00
compile-innodb move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Google move to storage/innobase 2015-05-04 19:17:21 +02:00
COPYING.Percona move to storage/innobase 2015-05-04 19:17:21 +02:00
Doxyfile move to storage/innobase 2015-05-04 19:17:21 +02:00
ha_innodb.def move to storage/innobase 2015-05-04 19:17:21 +02:00
plugin_exports Solaris compilation failure: xtradb is linked in statically, ha_innodb.so needs 2014-05-01 14:05:52 +02:00