mariadb/storage/innobase
Marko Mäkelä 00f0c039d2 MDEV-15270 Mariabackup should not try to use doublewrite buffer
When Mariabackup gets a bad read of the first page of the system
tablespace file, it would inappropriately try to apply the doublewrite
buffer and write changes back to the data file (to the source file)!
This is very wrong and must be prevented.

The correct action would be to retry reading the system tablespace
as well as any other files whose first page was read incorrectly.
Fixing this was not attempted.

xb_load_tablespaces(): Shorten a bogus message to be more relevant.
The message can be displayed by --backup or --prepare.

xtrabackup_backup_func(), os_file_write_func(): Add a missing space
to a message.

Datafile::restore_from_doublewrite(): Do not even attempt the
operation in Mariabackup.

recv_init_crash_recovery_spaces(): Do not attempt to restore the
doublewrite buffer in Mariabackup (--prepare or --export), because
all pages should have been copied correctly in --backup already,
and because --backup should ignore the doublewrite buffer.

SysTablespace::read_lsn_and_check_flags(): Do not attempt to initialize
the doublewrite buffer in Mariabackup.

innodb_make_page_dirty(): Correct the bounds check.

Datafile::read_first_page(): Correct the name of the parameter.
2018-02-12 16:56:01 +02:00
..
btr MDEV-14407 Assertion failure during rollback 2018-02-08 13:55:57 +02:00
buf Merge branch '10.1' into 10.2 2018-02-11 13:47:16 +01:00
data Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
dict MDEV-13869 MariaDB slow start 2018-02-12 14:06:04 +02:00
eval MDEV-12271 Port MySQL 8.0 Bug#23150562 REMOVE UNIV_MUST_NOT_INLINE AND UNIV_NONINL 2017-03-17 12:42:07 +02:00
fil MDEV-13869 MariaDB slow start 2018-02-12 14:06:04 +02:00
fsp MDEV-15270 Mariabackup should not try to use doublewrite buffer 2018-02-12 16:56:01 +02:00
fts Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
fut MDEV-12270 Port MySQL 8.0 Bug#21141390 REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC 2017-03-17 12:48:50 +02:00
gis MDEV-14130 InnoDB messages should not refer to the MySQL 5.7 manual 2018-01-10 13:53:44 +02:00
ha Skip btr_search_latches[] in SHOW ENGINE INNODB STATUS 2017-12-12 20:00:28 +02:00
handler MDEV-15270 Mariabackup should not try to use doublewrite buffer 2018-02-12 16:56:01 +02:00
ibuf After-merge fix for commit d4df7bc9b1 2018-02-02 19:57:59 +02:00
include MDEV-15270 Mariabackup should not try to use doublewrite buffer 2018-02-12 16:56:01 +02:00
lock Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
log MDEV-15270 Mariabackup should not try to use doublewrite buffer 2018-02-12 16:56:01 +02:00
mach Fix Bug#24707869 GCC 5 AND 6 MISCOMPILE MACH_PARSE_COMPRESSED 2017-04-26 23:03:29 +03:00
mem Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
mtr Revert "MDEV-6928: Add trx pointer to struct mtr_t" 2018-01-29 15:45:16 +02:00
mysql-test/storage_engine Merge branch '10.0' into 10.1 2017-08-08 10:18:43 +02:00
os MDEV-15270 Mariabackup should not try to use doublewrite buffer 2018-02-12 16:56:01 +02:00
page MDEV-14238 Bogus assertion on row_get_rec_trx_id() 2018-02-09 08:26:47 +02:00
pars Remove unused parameters and dead code 2017-09-29 16:19:28 +03:00
que MDEV-15199 Referential integrity broken in ON DELETE CASCADE 2018-02-07 10:39:12 +02:00
read Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
rem Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
row Merge branch '10.1' into 10.2 2018-02-11 13:47:16 +01:00
srv Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
sync Remove unused metadata for non-existing sync_thread_mutex 2018-01-28 22:17:54 +02:00
trx MDEV-14407 Assertion failure during rollback 2018-02-08 13:55:57 +02:00
usr Merge 10.1 into 10.2 2017-05-22 09:46:51 +03:00
ut Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01:00
bzip2.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
CMakeLists.txt Merge branch 'github/10.1' into 10.2 2018-02-06 14:50:50 +01: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
innodb.cmake Remove references to UNIV_SYNC_DEBUG which was merged with UNIV_DEBUG 2017-12-04 11:48:12 +02:00
lz4.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
lzma.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
lzo.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
plugin_exports Solaris compilation failure: xtradb is linked in statically, ha_innodb.so needs 2014-05-01 14:05:52 +02:00
snappy.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00