Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
11.4
-
None
Description
Based on my experience with two MariaDB server upgrades, a following scenario will lead to a change buffer corruption during MariaDB 11.4 upgrade, and block the upgrade:
- The server is originally started with an older MariaDB (10.3 or 10.4) with encryption on
- And once you try to upgrade it to 11.4 (from 10.11), the change buffer get corrupted
More details can be found from this closed/incomplete ticket: https://jira.mariadb.org/browse/MDEV-36556
I have a server where I could share the ibdata1 file and the encryption key.
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] Starting MariaDB 11.4.8-MariaDB source revision c4ed889b74ed95fa8b4eaf96610d4c1480b346a4 server_uid uRipApXaQrcoc3JkQGa+WcUKB+c= as process 48438 |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: Number of transaction pools: 1 |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: Using Linux native AIO |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: innodb_buffer_pool_size_max=128m, innodb_buffer_pool_size=128m |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: Completed initialization of buffer pool |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: End of log at LSN=1645743 |
mariadbd[48438]: 2025-09-08 17:33:45 0 [ERROR] InnoDB: The change buffer is corrupted |
mariadbd[48438]: 2025-09-08 17:33:45 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] InnoDB: Starting shutdown... |
mariadbd[48438]: 2025-09-08 17:33:45 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] Plugin 'FEEDBACK' is disabled. |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] Plugin 'wsrep-provider' is disabled. |
mariadbd[48438]: 2025-09-08 17:33:45 0 [Note] Using encryption key id 1 for temporary files |
mariadbd[48438]: 2025-09-08 17:33:45 0 [ERROR] Unknown/unsupported storage engine: InnoDB |
mariadbd[48438]: 2025-09-08 17:33:45 0 [ERROR] Aborting |
A similar crash has been also reported in here: https://stackoverflow.com/questions/78230812/upgrading-mariadb-10-11-to-11-3
Attachments
Issue Links
- duplicates
-
MDEV-36556 MariaDB upgrade fails when using innodb_encrypt_tables=ON,innodb_checksum_algorithm=crc32
-
- Closed
-