Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
Some DDL statements can lead to inconsistent backups unless the server has innodb_log_optimize_ddl=OFF set. See MDEV-16791 for more information.
https://mariadb.com/kb/en/library/mariabackup-overview/#concurrent-ddl-and-backup-issues
https://mariadb.com/kb/en/library/innodb-system-variables/#innodb_log_optimize_ddl
Maybe Mariabackup should write a warning if a backup is taken when innodb_log_optimize_ddl=OFF is not set? i.e. something like this?:
[Warning] The server does not have innodb_log_optimize_ddl set to OFF. If certain DDL statements are executed during the backup, then the backup can be inconsistent.
Attachments
Issue Links
- relates to
-
MDEV-19769 Mariabackup should write warning during backup if server does not have innodb_safe_truncate=ON set
-
- Open
-
-
MDEV-16791 mariabackup : allow consistent backup, in presence of concurrent DDL, also without --lock-ddl-per-table
-
- Closed
-
-
MDEV-19747 Deprecate and ignore innodb_log_optimize_ddl
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Link |
This issue relates to |
Link | This issue relates to MDEV-19769 [ MDEV-19769 ] |
Component/s | Data Definition - Alter Table [ 10114 ] |
Assignee | Vladislav Lesin [ vlad.lesin ] | Marko Mäkelä [ marko ] |
Workflow | MariaDB v3 [ 97530 ] | MariaDB v4 [ 131103 ] |
Assignee | Marko Mäkelä [ marko ] | Sergei Golubchik [ serg ] |
Assignee | Sergei Golubchik [ serg ] | Alexander Barkov [ bar ] |
Fix Version/s | 10.2 [ 14601 ] |
Labels | warning |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] |
Zendesk Related Tickets | 120084 121606 |
I do not think that implementing the requested warning requires any specific InnoDB knowledge.