[MDEV-12061] Allow innodb_log_files_in_group=1 Created: 2017-02-14  Updated: 2021-12-15  Resolved: 2017-02-15

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Fix Version/s: 10.2.4

Type: Task Priority: Major
Reporter: Marko Mäkelä Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: innodb, logging, recovery, xtrabackup

Issue Links:
Blocks
blocks MDEV-20907 Set innodb_log_files_in_group=1 by de... Closed
PartOf
is part of MDEV-11782 Redefine the innodb_encrypt_log format Closed
Relates
relates to MDEV-27268 Failed InnoDB initialization leaves g... Closed

 Description   

The InnoDB redo log consists of a list of files that logically form a bigger file, as if the individual files were concatenated together.
If there are multiple files, the first file will always be written on redo log checkpoint, because the two checkpoint pages are at the start of the single logical redo log file.
There is no technical reason why InnoDB requires there to be at least 2 files. Let us reduce the minimum number to 1. In that way, restoring from backups will become easier, since InnoDB could directly deal with the single log file produced by XtraBackup.



 Comments   
Comment by Marko Mäkelä [ 2017-02-14 ]

3536ba57062 MDEV-12061 Allow innodb_log_files_in_group=1

Comment by Jan Lindström (Inactive) [ 2017-02-14 ]

ok to push.

Generated at Thu Feb 08 07:54:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.