[MDEV-16496] Mariabackup: Implement --verbose option to instrument InnoDB log apply Created: 2018-06-15  Updated: 2020-08-25  Resolved: 2018-06-15

Status: Closed
Project: MariaDB Server
Component/s: Backup
Fix Version/s: 10.2.16, 10.3.8

Type: Task Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: backup, debug-info


 Description   

When preparing a backup fails due to apparent corruption on a data page, there is not much information in the output. Running a debug build with --dbug=d,ib_log is often unpractical due to the slowness of the debug build.

Let us implement a new option --verbose, which will display information about redo log application during mariabackup --prepare, like this:

Applying log to page 0:49
apply 1646941: MLOG_4BYTES len 4 page 0:49
apply 1647127: MLOG_4BYTES len 4 page 0:49
apply 1647134: MLOG_2BYTES len 3 page 0:49
apply 1647140: MLOG_4BYTES len 4 page 0:49
apply 1647147: MLOG_2BYTES len 3 page 0:49
apply 1647189: MLOG_4BYTES len 3 page 0:49


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