mariadb/extra
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
..
crc32-vpmsum crc32-vpmsum: Restore non volatile registers on zero length CRC 2016-08-05 11:50:46 +04:00
mariabackup MDEV-15270 Mariabackup should not try to use doublewrite buffer 2018-02-12 16:56:01 +02:00
readline Merge 10.0.14 into 10.1 2014-10-15 12:59:13 +02:00
yassl Merge branch '10.1' into 10.2 2017-10-24 14:53:18 +02:00
charset2html.c spelling fixes 2017-03-07 13:38:06 +04:00
CMakeLists.txt MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-08 09:41:09 +03:00
comp_err.c Fixed wrong arguments to printf and related functions 2018-01-04 16:24:09 +02:00
innochecksum.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
my_print_defaults.c Various compier warnings 2017-10-22 14:51:45 +02:00
mysql_waitpid.c MDEV-8012: Wrong exit code when asking for help 2016-06-12 22:47:18 +03:00
mysqld_safe_helper.c mysqld_safe_help - remove warning 2017-04-30 15:06:01 +04:00
perror.c Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
replace.c Merge branch '10.0' into 10.1 2017-10-22 13:03:41 +02:00
resolve_stack_dump.c resolve_stack_dump updated to match latest stack trace format 2017-12-03 12:45:54 +02:00
resolveip.c MDEV-419 ensure that all HAVE_XXX constants can be set by cmake 2012-07-31 19:29:07 +02:00