[MDEV-13560] restart_and_restore.inc does not pass --innodb-undo-tablespaces to --copy-back Created: 2017-08-17  Updated: 2017-11-03  Resolved: 2017-11-03

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.1
Fix Version/s: 10.1.29

Type: Bug Priority: Major
Reporter: Marko Mäkelä Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: backup

Issue Links:
Relates
relates to MDEV-12988 backup fails if innodb_undo_tablespac... Closed
Sprint: 10.1.29

 Description   

We should run all of --suite=mariabackup tests with at least two different combinations for innodb_undo_tablespaces. The default value is 0.

A major problem is that the restore tests always invoke --copy-back without an innodb_undo_tablespaces parameter. I tested both by invoking

./mtr --mysqld=--innodb-undo-tablespaces=3 --suite=mariabackup

and by creating an .opt file with the parameter in it.
Backup does get the parameter right, maybe also prepare does get it.



 Comments   
Comment by Elena Stepanova [ 2017-09-22 ]

It's been done in a development tree, but waiting for a decision whether it's needed after all.

Comment by Marko Mäkelä [ 2017-10-31 ]

If I remember correctly, wlad suggested that mariabackup --copy-back should ignore the innodb_undo_tablespaces parameter and copy all the undo* files that it finds. And I presume, to remove any other undo%03u files from the target.

Generated at Thu Feb 08 08:06:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.