mariadb/mysql-test/suite
Marko Mäkelä 1b478a7aba MDEV-13311 Presence of old logs in 10.2.7 will corrupt restored instance (change in behavior)
Mariabackup 10.2.7 would delete the redo log files after a successful
--prepare operation. If the user is manually copying the prepared files
instead of using the --copy-back option, it could happen that some old
redo log file would be preserved in the restored location. These old
redo log files could cause corruption of the restored data files when
the server is started up.

We prevent this scenario by creating a "poisoned" redo log file
ib_logfile0 at the end of the --prepare step. The poisoning consists
of simply truncating the file to an empty file. InnoDB will refuse
to start up on an empty redo log file.

copy_back(): Delete all redo log files in the target if the source
file ib_logfile0 is empty. (Previously we did this if the source
file is missing.)

SRV_OPERATION_RESTORE_EXPORT: A new variant of SRV_OPERATION_RESTORE
when the --export option is specified. In this mode, we will keep
deleting all redo log files, instead of truncating the first one.

delete_log_files(): Add a parameter for the first file to delete,
to be passed as 0 or 1.

innobase_start_or_create_for_mysql(): In mariabackup --prepare,
tolerate an empty ib_logfile0 file. Otherwise, require the first
redo log file to be longer than 4 blocks (2048 bytes). Unless
--export was specified, truncate the first log file at the
end of --prepare.
2017-10-10 15:54:11 +03: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-08-17 11:38:34 +02:00
binlog_encryption
csv
encryption MDEV-13847 Allow ALTER TABLE…ADD SPATIAL INDEX…ALGORITHM=INPLACE 2017-09-20 16:53:34 +03:00
engines Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
federated MDEV-12951 Server crash [mysqld got exception 0xc0000005] 2017-09-18 10:12:23 +02:00
funcs_1 un-disable a bunch of funcs_1 tests 2017-08-14 19:45:59 +02:00
funcs_2
galera Merge 10.1 into 10.2 2017-10-02 11:16:53 +03:00
galera_3nodes Merge 10.1 into 10.2 2017-08-31 09:30:40 +03:00
gcol Do not require a debug non-embedded server in the test 2017-09-13 16:02:31 +03:00
handler
heap
innodb MDEV-13311 Presence of old logs in 10.2.7 will corrupt restored instance (change in behavior) 2017-10-10 15:54:11 +03:00
innodb_fts MDEV-11649 Uninitialized field fts_token->position in innodb_fts.innodb_fts_plugin 2017-06-30 15:03:53 +03:00
innodb_gis MDEV-13847 Allow ALTER TABLE…ADD SPATIAL INDEX…ALGORITHM=INPLACE 2017-09-20 16:53:34 +03:00
innodb_undo
innodb_zip MDEV-13847 Allow ALTER TABLE…ADD SPATIAL INDEX…ALGORITHM=INPLACE 2017-09-20 16:53:34 +03: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 Fix that FLUSH TABLES FOR EXPORT also works for Aria tables. 2017-09-21 16:34:48 +03:00
mariabackup MDEV-13311 Presence of old logs in 10.2.7 will corrupt restored instance (change in behavior) 2017-10-10 15:54:11 +03:00
mtr/t
mtr2
multi_source
optimizer_unfixed_bugs
parts Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
percona
perfschema MDEV-13712 Spelling errors in the error message 2017-09-18 10:12:23 +02:00
perfschema_stress
plugins Support for server error messages in Hindi 2017-08-03 17:31:05 +04:00
roles Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
rpl Merge branch '10.1' into 10.2 2017-09-22 02:27:00 +02:00
storage_engine Fix results for parts/repair_table test after enabling it for MyISAM 2017-08-28 19:41:13 +03:00
stress
sys_vars Merge 10.1 into 10.2 2017-10-02 11:16:53 +03:00
unit
vcol MDEV-13708 Crash with indexed virtual columns and FK cascading deletes 2017-09-18 10:12:23 +02:00
wsrep Merge 10.1 into 10.2 2017-08-31 09:30:40 +03:00