mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
3b38c2f358
There are many filesystem related errors that can occur with MariaBackup. These already outputed to stderr with a good description of the error. Many of these are permission or resource (file descriptor) limits where the assertion and resulting core crash doesn't offer developers anything more than the log message. To the user, assertions and core crashes come across as poor error handling. As such we return an error and handle this all the way up the stack.
19 lines
364 B
Text
19 lines
364 B
Text
CREATE TABLE t(a INT) ENGINE=InnoDB DATA DIRECTORY='table_data_dir';
|
|
INSERT INTO t VALUES(1);
|
|
# xtrabackup backup
|
|
# xtrabackup prepare
|
|
DROP TABLE t;
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart
|
|
SELECT * FROM t;
|
|
a
|
|
1
|
|
DROP TABLE t;
|
|
#
|
|
# MDEV-18200 MariaBackup full backup failed with InnoDB: Failing assertion: success
|
|
#
|
|
#
|
|
# End of 10.4 tests
|
|
#
|