diff options
author | Monty <monty@mariadb.org> | 2022-11-09 19:44:11 +0200 |
---|---|---|
committer | Sergei Petrunia <sergey@mariadb.com> | 2023-02-03 10:43:02 +0300 |
commit | cbf60dba7404edfa73ddf9b29c4488a4b3ea5684 (patch) | |
tree | c9cfeb02b1b5681a5fba53375795ba21ea306154 /mysql-test/mariadb-test-run.pl | |
parent | 66dde8a54ecf91d97eb1ae4a6209e0e2dddcec97 (diff) | |
download | mariadb-git-cbf60dba7404edfa73ddf9b29c4488a4b3ea5684.tar.gz |
Small improvements to aria recovery
I spent 4 hours on work and 12 hours of testing to try to find
the reason for aria crashing in recovery when starting a new test,
in which case the 'data directory' should be a copy of "install.db",
but aria_log.00000001 content was not correct.
The following changes are mostly done to make it a bit easier to find out
more in case of future similar crashes:
- Mark last_checkpoint_lsn volatile (safety).
- Write checkpoint message to aria_recovery.trace
- When compling with DBUG and with HAVE_DBUG_TRANSLOG_SRC,
use checksum's for Aria log pages. We cannot have it on by default
for DBUG servers yet as there is bugs when changing CRC between
restarts.
- Added a message to mtr --verbose when copying the data directory.
- Removed extra linefeed in Aria recovery message (cleanup)
Diffstat (limited to 'mysql-test/mariadb-test-run.pl')
-rwxr-xr-x | mysql-test/mariadb-test-run.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/mariadb-test-run.pl b/mysql-test/mariadb-test-run.pl index b7e83261298..b75278e9a6d 100755 --- a/mysql-test/mariadb-test-run.pl +++ b/mysql-test/mariadb-test-run.pl @@ -2713,6 +2713,7 @@ sub mysql_server_start($) { # Copy datadir from installed system db my $path= ($opt_parallel == 1) ? "$opt_vardir" : "$opt_vardir/.."; my $install_db= "$path/install.db"; + mtr_verbose("copying $install_db to $datadir"); copytree($install_db, $datadir) if -d $install_db; mtr_error("Failed to copy system db to '$datadir'") unless -d $datadir; } |