mariadb/mysql-test/suite
Marko Mäkelä 33f70c4d9c MDEV-13869 MariaDB slow start
When code from MySQL 5.7.9 was merged to MariaDB 10.2.2
in commit 2e814d4702
an assignment validate=true was inadvertently added to the function
dict_check_sys_tables().

This causes InnoDB to open every single .ibd file on startup, even
when no crash recovery was needed.

Simply removing the assignment would make some tests fail. We do the
best to retain almost the same level of inconsistency detection.
In the test innodb.table_flags, access to one of the tables will not
be blocked despite inconsistent flags.

dict_check_sys_tables(): Remove the problematic assignment, and skip
validation in normal startup.

dict_load_table_one(): If the .ibd file cannot be opened, mark the
table as corrupted and unreadable.

fil_node_open_file(): Validate FSP_SPACE_FLAGS with the expected
flags. If reading the tablespace fails, invalidate node->handle
instead of letting it remain stale. This bug was caught by a
fil_validate() assertion failure.

fsp_flags_try_adjust(): If the tablespace file is invalid, do nothing.
2018-02-12 14:06:04 +02:00
..
archive Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
binlog Merge branch '10.1' into 10.2 2017-11-21 19:47:46 +01:00
binlog_encryption
csv
encryption Merge branch '10.1' into 10.2 2018-02-11 13:47:16 +01:00
engines Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
federated MDEV-14272 Mariadb crashes with signal 11 when using federatedx engine and galera 2017-12-28 02:13:25 +01:00
funcs_1 un-disable a bunch of funcs_1 tests 2017-08-14 19:45:59 +02:00
funcs_2
galera Disabled galera_ist_progress at it always fails in 10.2 2018-02-07 17:25:46 +02:00
galera_3nodes Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
gcol MDEV-15165 InnoDB purge for index on virtual column is trying to access an incomplete record 2018-02-01 18:53:41 +02:00
handler
heap
innodb MDEV-13869 MariaDB slow start 2018-02-12 14:06:04 +02:00
innodb_fts Do not SET DEBUG_DBUG=-d,... in tests 2018-01-29 16:39:54 +02:00
innodb_gis Remove useless debug instrumentation row_print_geometry_data 2018-02-07 10:39:12 +02:00
innodb_undo
innodb_zip Add back (and clean up) the test innodb_zip.prefix_index_liftedlimit 2018-02-09 10:03:53 +02:00
jp
json MDEV-13324 JSON_SET returns NULL instead of object. 2017-09-12 14:40:18 +04:00
large_tests MDEV-11002 large_tests.rpl_slave_net_timeout fails due to connection logging 2017-06-21 21:07:20 +03:00
maria Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
mariabackup Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
mtr/t
mtr2
multi_source MDEV-9544 Fix test case for 10.2 2017-06-10 12:57:59 +05:30
optimizer_unfixed_bugs
parts Merge branch '10.1' into 10.2 2018-02-11 13:47:16 +01:00
percona
perfschema Merge 10.1 to 10.2 2017-12-19 16:48:28 +02:00
perfschema_stress
plugins Merge remote-tracking branch 'origin/10.1' into 10.2 2017-12-22 12:23:39 +02:00
roles Merge remote-tracking branch 'origin/10.1' into 10.2 2017-12-22 12:23:39 +02:00
rpl Merge tag 'mariadb-10.0.34' into 10.0-galera 2018-02-01 14:09:48 +02:00
storage_engine MDEV-14607 storage_engine-rocksdb.type_bit_indexes fails after latest pushes 2017-12-13 00:29:44 +02:00
stress
sys_vars Merge branch '10.1' into 10.2 2018-02-11 13:47:16 +01:00
unit
vcol Ensure that table->vcol_set is properly restored if used 2018-01-01 14:44:20 +02:00
wsrep Merge 10.1 into 10.2 2017-08-31 09:30:40 +03:00