Release Notes for MariaDB Enterprise Server 10.5.24-18
MariaDB Enterprise Server 10.5.24-18 is a maintenance release of MariaDB Enterprise Server 10.5. This release includes a variety of fixes.
MariaDB Enterprise Server 10.5.24-18 was released on 2024-03-11.
Changes in Storage Engines
This release incorporates MariaDB ColumnStore engine version 5.6.8-2.
Notable Changes
Galera has been updated to
26.4.17AlmaLinux 8 and 9 are now officially supported. RHEL 8 and 9 packages are used for AlmaLinux
Issues Fixed
Can result in data loss
BLOBcorruption onUPDATEofPRIMARY KEYwith FOREIGN KEY (MDEV-31441)Corrupted table after instant
ADD COLUMNfailed due to attempting to exceed the maximum record length (MDEV-18322)ALTER command, before entering TOI, tries to collect foreign keys of a table. For this it opens the main table with SHARED_HIGH_PRIO MDL lock which disregards any waiting queued lock requests. If there is a DML operation running on the same table, and a real TOI operation as well, this TOI operation tries to BF-abort DML operation. At the same time, because ALTER is not yet TOI, and it runs with HIGH_PRIO MDL lock, it disregards waiting TOI operation, and gets the lock and immediately gets BF-aborted either by TOI directly or by aborted DML operation. Since there is no wsrep transaction for ALTER, it gets BF-aborted by setting killed state for the tread. But before entering TOI, ALTER doesn't check killed state, so it replicates, and applies on the other nodes successfully, but then it rolls back on the local node, causing inconsistency (MDEV-32938)
If Galera is enabled with binlog emulation, attempting to set a
SAVEPOINTwhen one of the involved storage engines does not support savepoints, can result in cluster wide inconsistency. A part of a transaction could be replicated to other notes, but a local statement rollback could be triggered. (MDEV-32549)InnoDB after issuing
ALTER TABLE...IMPORT TABLESPACEmay not be crash safe anymore (MDEV-32269)When a table is created with a virtual column while using
sql_mode=ORACLE, the server can crash when the table is changed while using a different setting forsql_mode(MDEV-27744)The virtual column must have been created using:
DECODE()LTRIM()RTRIM()LPAD()RPAD()REPLACE()SUBSTR()
Can result in hang or crash
A shutdown of the server with
innodb_fast_shutdown=0can hang after the server failed to start up (MDEV-32798)Crash while trying to complain "unsupported meta-data version" on
ALTER TABLE...IMPORT TABLESPACEwith MySQL 8.0 files (MDEV-29972)Wrong table attribute
PAGE_COMPRESSED=1shown for tables in the InnoDB system tablespace (MDEV-31000)MariaDB crashes with foreign_key_checks=0 when changing a column and adding a foreign key at the same time (MDEV-32638)
Sometimes node has been dropped from the cluster on startup
Shutdown with async replicawith diagnostics like: (MDEV-31413)
[ERROR] Slave SQL: Error 'WSREP has not yet prepared node for application use' on queryand
[ERROR] Slave SQL: Node has dropped from cluster, Gtid 1-1-1, Internal MariaDB error code: 1047" in the server logGTIDsmay diverge in Galera cluster afterCREATE TABLE AS(MDEV-27806) This can subsequently lead to diagnostics like:
[ERROR] mariadbd: Error writing file '/opt/maria10.1/binlog/BINLOG' (errno: 1950 "Unknown error 1950")"and node crash:
wsrep::transaction::before_rollback(): Assertion state() == s_executing || state() == s_preparing || state() == s_prepared || state() == s_must_abort || state() == s_aborting || state() == s_cert_failed || state() == s_must_replay` failedSHOW SLAVE STATUScan deadlock an errored replica when a parallel replica worker gets killed at about when SHOW is issued (MDEV-10653)When executing
SELECT BINLOG_GTID_POS(@binlog_file...)with the user variable being NULL, the server can crash (MDEV-33045)A Query that uses a specific SQL construct can cause a server crash. The construct is an equality comparison of table-less row subquery and a subquery that has a UNION operation at the top level:
(SELECT 'foo', 'bar') = (SELECT col1, col2 FROM t1 ... UNION ...)(MDEV-29070)A
DELETEwithORDER BYand semijoin optimization can cause a crash (MDEV-32212)Possible crash when lateral derived in a query is guaranteed to return no rows (MDEV-31279)
When using
EXCHANGE PARTITIONto replace a partition with a table, the server can crash if the to be exchanged table is using a virtual column which is not matching the partitioning key (MDEV-28127)When using
INSERT DELAYEDwith a table using virtual columns, the server can crash (MDEV-29932)When using
SELECTfrom a derived table with using AS OF, the server can crash (MDEV-32082)When using
JSON_CONTAINS_PATHin a comparison in a prepared statement, the server can crash on execution of the statement (MDEV-32867)Binlog Checksum of replication user variable events is zeroed by Zlib if part of event data is empty. The bug is a regression of other fixes on a server build with the zlib library. It can show up as a checksum verification error of a user variable event at its reading from binlog, (MDEV-33283)
Server hangs on
DROP DATABASEafter a failingLOCK TABLESon Spider table (MDEV-29667)When using two temporary tables in
OPTIMIZE TABLE, executed as a prepared statement, the server can crash (MDEV-31523)When calling SP invoking another SP with a parameter requiring a type conversion, the server can crash (MDEV-33270)
Possible hang when changing the InnoDB log file size using
SET GLOBAL innodb_log_file_size(MENT-1271)If a query's
WHEREclause has conditions over more than 128 columns of the same table,optimizer_use_condition_selectivityis 3, or higher,use_stats_tablesis not set to NEVER, and statistics for the columns have been collected viaANALYZE TABLE, the server could crash (MENT-2036)
Can result in unexpected behavior
SHOW WARNINGScan show wrong foreign key related warnings/errors from an earlier transaction for InnoDB (MDEV-32833)LeakSanitizer errors in mem_heap_create_block_func upon query from
I_S.INNODB_SYS_TABLES with LIMIT ROWS EXAMINED(MDEV-32890)Query from
I_S.INNODB_SYS_INDEXESexceedingLIMIT ROWS EXAMINEDcausesER_UNKNOWN_ERRORandLeakSanitizererrors inrec_copy_prefix_to_buf_old(MDEV-28613)Unexpected
ER_ERROR_ON_RENAMEuponDROPnon-existingFOREIGN KEYwithALGORITHM=COPY(MDEV-22230)FOREIGN_KEY_CHECKSdoes not prevent non-copy alter from creating invalid FK structure (MDEV-29092)Secondary indexes on
VARCHARcolumns may be corrupted when theVARCHARis extended so much that a column prefix index must be used (MDEV-21245)Spider: Valid
LEFT JOINresults inERROR 1064(MDEV-26247)Syntax error upon query with subquery from Spider table (MDEV-30392)
Spider doesn't recognize
SEMI-JOIN(MDEV-31645)wsrep_provider_optionscan be truncated on deep and long directory paths with diagnostics like: "Warning 1265 Data truncated for column 'VARIABLE_VALUE' at row 1" in the server log (MDEV-32634)Mariadb-dump option
--delete-master-logsis ignored (MDEV-32953)multi source replication filters breaking GTID semantic (MDEV-26632)
If
wsrep_gtid_mode=ONis used andwsrep_gtid_domain_id is non-zero, after SST using mariadb-backup GTIDs will become inconsistent both at the domain level, and at the seq_no level (MDEV-31905)wsrep_gtid_domain_idis ignored on any node other than bootstrapped node when the wsrep_gtid_mode is set to ON (MDEV-32740)LONG UNIQUE ... USING HASHcan result in an error when used with REPLACE (MDEV-32839)JSON_ARRAYAGG()doesn't evaluate correct charset which can lead to an unexpected result (MDEV-24784)A connection can control
RAND()in following connection if used in conjunction withset rand_seed1, rand_seed2(MDEV-33148)An
UPDATEof a column of aFEDERATEDtable fails with "ERROR 1296 (HY000): Got error 10000 'Error on remote system: 1143: UPDATE command denied to user 'xxx'@'x.x.x.x' for column 'id' in table 'x'' from FEDERATED"
if the table includes an AUTO_INCREMENT column (MDEV-32984)
CHECK TABLEshows a MyISAM/Aria table as corrupted, as a unique hash key on column prefix is computed incorrectly (MDEV-29954)mysql.slow_logreports time when the query finished, not the start time (MDEV-11628)mariadb-upgrade does not remove mysql.plugin entries for plugins that became bundled. Error message "[ERROR] mariadbd: Plugin 'unix_socket' is already installed." is shown when upgrading (MDEV-32043)
If storage engine Spider is loaded upon server startup, Spider related system, and status variables are not available (MENT-2043)
Regular expressions cannot be used in queries on tables of type
SPIDER(MDEV-32986)Memory leak when purging history of indexed virtual columns (MDEV-28682)
MariaDB Enterprise Backup sometimes shows the error
Can't open shared library '/file_key_management.so' (errno: 2, cannot open shared objectfile: No such file, or directory) when the option--target-diris not used with--prepare(MDEV-29110)The database part is not case sensitive in Stored Procedure names. This can lead to using the wrong stored procedure, if the same database name is used as lower, and uppercase (MDEV-33019)
CREATE UNIQUE INDEXcan fail with an incorrect"ERROR 1286 (42000): Unknown storage engine 'partition'"(MDEV-21618)After successful connection, server sets
SERVER_STATUS_AUTOCOMMITinserver_statusin the OK packet although the global variableautocommit=0is set (MDEV-32875)In some cases it is possible to create a Spider table which is referencing to a table on the same instance although
spider_same_server_link=0is set (MDEV-29718)Spider fails to auto-discover a table structure with
ERROR 12500 (HY000): unknown(MDEV-33008)REGEXP_REPLACEtreats empty strings different thanREPLACEinORACLEmode (MDEV-29095)REPLACEis supposed to remove all conflicting rows of a table. ForUNIQUE HASH, REPLACEonly removes the first conflicting row, not all conflicting rows (MDEV-32837)mariadb-upgradedoes not remove mysql.plugin entries for plugins that became bundled. Error message"[ERROR] mariadbd: Plugin 'unix_socket' is already installed."is shown when upgrading (MDEV-32043)INSERT...SELECTDoes not produce an optimizer trace althoughset optimizer_trace=1is used (MDEV-29298)The Enterprise Audit Plugin does not always report the user name (MENT-2035)
Related to performance
An
ALTERusingALGORITHM=INPLACEor adding new indexes can increase the table space file size (MDEV-26740)Operations that involve extending InnoDB files can be extremely slow when the data directory resides on an NFS server that uses a smaller block size than 4096 bytes (MDEV-32268)
innodb_undo_log_truncate=ONprevents fast shutdown (MDEV-33062)Adaptive flush recommendation ignores dirty ratio and checkpoint age (MDEV-31939)
Platforms
In alignment with the enterprise lifecycle, MariaDB Enterprise Server 10.5.24-18 is provided for:
AlmaLinux 8 (x86_64, ARM64)
AlmaLinux 9 (x86_64, ARM64)
Debian 11 (x86_64, ARM64)
Debian 12 (x86_64, ARM64)
Microsoft Windows (x86_64) (MariaDB Enterprise Cluster excluded)
Red Hat Enterprise Linux 8 (x86_64, ARM64)
Red Hat Enterprise Linux 9 (x86_64, ARM64)
Rocky Linux 8 (x86_64, ARM64)
Rocky Linux 9 (x86_64, ARM64)
SUSE Linux Enterprise Server 12 (x86_64)
SUSE Linux Enterprise Server 15 (x86_64, ARM64)
Ubuntu 20.04 (x86_64, ARM64)
Some components of MariaDB Enterprise Server might not support all platforms. For additional information, see "MariaDB Corporation Engineering Policies".
Installation Instructions
Enterprise Spider Sharded Topology with MariaDB Enterprise Server 10.5
Enterprise Spider Federated Topology with MariaDB Enterprise Server 10.5
Upgrade Instructions
This page is: Copyright © 2025 MariaDB. All rights reserved.
Last updated
Was this helpful?

