mariadb/storage/xtradb
Marko Mäkelä 9a46d97149 MDEV-15333 MariaDB (still) slow start
This performance regression was introduced in the MariaDB 10.1
file format incompatibility bug fix MDEV-11623 (MariaDB 10.1.21
and MariaDB 10.2.4) and partially fixed in MariaDB 10.1.25 in
MDEV-12610 without adding a regression test case.

On a normal startup (without crash recovery), InnoDB should not read
every .ibd data file, because this is slow. Like in MySQL, for now,
InnoDB will still open every data file (without reading), and it
will read every .ibd file for which an .isl file exists, or the
DATA DIRECTORY attribute has been specified for the table.

The test case shuts down InnoDB, moves data files, replaces them
with garbage, and then restarts InnoDB, expecting no messages to
be issued for the garbage files. (Some messages will for now be
issued for the table that uses the DATA DIRECTORY attribute.)
Finally, the test shuts down the server, restores the old data files,
and restarts again to drop the tables.

fil_open_single_table_tablespace(): Remove the condition on flags,
and only call fsp_flags_try_adjust() if validate==true
(reading the first page has been requested). The only caller with
validate==false is at server startup when we are processing all
records from SYS_TABLES. The flags passed to this function are
actually derived from SYS_TABLES.TYPE and SYS_TABLES.N_COLS,
and there never was any problem with SYS_TABLES in MariaDB 10.1.
The problem that MDEV-11623 was that incorrect tablespace flags
were computed and written to FSP_SPACE_FLAGS.
2018-02-17 14:20:33 +02:00
..
api Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
btr Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
buf MDEV-14508: encryption.innodb-compressed-blob failed in buildbot, assertion in btr0cur.cc line 1398 2018-02-09 17:17:32 +02:00
data Merge remote-tracking branch '5.5' into 10.0 2018-01-24 12:29:31 +02:00
dict Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
dyn Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
eval move to storage/xtradb 2015-05-04 19:15:28 +02:00
fil MDEV-15333 MariaDB (still) slow start 2018-02-17 14:20:33 +02:00
fsp MDEV-13557: Startup failure, unable to decrypt ibdata1 2017-08-29 14:23:34 +03:00
fts Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
fut Part 1 of MDEV-8139 Fix scrubbing tests 2017-01-04 18:21:42 +02:00
ha 5.6.30-76.3 2016-06-21 14:20:09 +02:00
handler Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
ibuf After-merge fix for commit d4df7bc9b1 2018-02-02 19:57:59 +02:00
include Merge remote-tracking branch 'origin/10.0' into 10.1 2018-02-10 00:06:10 +04:00
lock Merge 10.0 into 10.1 2018-02-13 14:32:17 +02:00
log Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
mach 5.5.55-38.8 2017-07-18 19:47:01 +02:00
mem Merge remote-tracking branch '5.5' into 10.0 2018-01-24 12:29:31 +02:00
mtr Merge 10.0 into 10.1 2017-03-09 08:53:08 +02:00
mysql-test/storage_engine Merge branch '10.0' into 10.1 2017-08-08 10:18:43 +02:00
os Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
page Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
pars Merge branch 'merge-xtradb-5.6' into 10.0 2017-05-17 12:11:12 +03:00
que 5.6.24-72.2 2015-06-16 11:04:40 +02:00
read move to storage/xtradb 2015-05-04 19:15:28 +02:00
rem Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
row MDEV-14611 ALTER TABLE EXCHANGE PARTITION does not work properly when used with DATA DIRECTORY. 2018-02-10 22:17:49 +04:00
srv After-merge fix for commit d4df7bc9b1 2018-02-02 19:57:59 +02:00
sync 5.6.38-83.0 2018-01-23 18:04:34 +02:00
trx Merge 10.0 into 10.1 2018-02-13 14:32:17 +02:00
usr Remove redundant UT_LIST_INIT() calls 2017-05-17 10:33:49 +03:00
ut Merge 10.0 into 10.1 2017-10-26 13:36:38 +03:00
CMakeLists.txt MDEV-14283 : Fix Solaris 10 build. 2017-11-21 21:14:06 +01:00
COPYING.Google move to storage/xtradb 2015-05-04 19:15:28 +02:00
COPYING.Percona move to storage/xtradb 2015-05-04 19:15:28 +02:00
Doxyfile move to storage/xtradb 2015-05-04 19:15:28 +02:00
ha_innodb.def move to storage/xtradb 2015-05-04 19:15:28 +02:00