MariaDB 11.8.2 Release Notes

MariaDB 11.8.2 is a Stable (GA) release of MariaDB Community Server 11.8, released on 2025-06-04

circle-info

The most recent release of MariaDB 11.8 is:

Alternate download from mariadb.orgarrow-up-right

Download Release Notes Changelog Overview of 11.8

Alternate download from mariadb.orgarrow-up-right

Release date: 4 Jun 2025

MariaDB 11.8.2 is a Stable (GA) release. It is an evolution of MariaDB 11.7 with several entirely new features.

MariaDB 11.8 is a long-term releasearrow-up-right.

circle-check

Thanks, and enjoy MariaDB!

Notable Items

Storage Engines

InnoDB

  • Race condition between log_t::resize_start() and log_t::resize_abort() (MDEV-36082arrow-up-right)

  • Race conditions between ALTER TABLE or OPTIMIZE TABLE and the purge of transaction history were fixed. (MDEV-36122arrow-up-right)

  • Server crashes when resizing default innodb buffer pool after setting innodb-buffer-pool-chunk-size to 1M (MDEV-34677arrow-up-right)

  • ASAN errors in dict_sys_t::load_table / get_foreign_key_info after failing to load a table (MDEV-33167arrow-up-right)

  • Incorrect undo logging for indexes on virtual columns whose index ID does not fit in 32 bits (MDEV-36613arrow-up-right)

  • Memory leak after failed CREATE TABLE…SELECT; crash on CREATE TABLE…SELECT that reads from multiple tables (MDEV-36504arrow-up-right)

  • Doublewrite recovery of innodb_checksum_algorithm=full_crc32 page_compressed pages does not work (MDEV-36180arrow-up-right)

  • decreasing innodb_buffer_pool_size at runtime does not release memory (MDEV-32339arrow-up-right)

  • innodb_snapshot_isolation=1 gives error for not committed row changes (MDEV-36639arrow-up-right)

  • InnoDB system tables cannot be optimized or defragmented (MDEV-35689arrow-up-right)

  • LSN allocation is a bottleneck (MDEV-21923arrow-up-right)

  • reorganise innodb buffer pool (and remove buffer pool chunks) (MDEV-29445arrow-up-right)

  • FLUSH TABLES will no longer cause InnoDB persistent statistics to be reloaded. RENAME TABLE will. This change of logic improves the performance in general, and avoids a case where statistics for relatively rarely modified tables are never updated. (MDEV-35000arrow-up-right)

  • The Linux memory pressure interface, which could previously not be disabled and could cause performance anomalies, was rewritten and is disabled by default. (MDEV-34863arrow-up-right)

  • Stall and crash when page cleaner fails to generate free pages during Async flush (MDEV-36226arrow-up-right)

  • Performance regression in INSERT…SELECT due to unnecessarily making InnoDB log durable. (MDEV-35813arrow-up-right)

RocksDB

  • Assertion `!level_and_file.second->being_compacted' failed in LevelCompactionBuilder::SetupInitialFiles (MDEV-16523arrow-up-right)

  • Assertion `ikey_.type == kTypeValue' failed in rocksdb::CompactionIterator::NextFromInput (MDEV-15164arrow-up-right)

Spider

Connect

Versioned Tables

  • Assertion InnoDB searching row in wrong partition for multiple system versioned DELETE with same timestamp and same multistatement transaction (MDEV-36115arrow-up-right)

Optimizer

  • A server crash is possible when a statement is executed that satisfies all of these requirements: (MDEV-36080arrow-up-right)

    • It is a data-modifying statement (UPDATE/DELETE/etc)

    • It uses a condition that produces a warning during optimization (typically, a type mismatch)

    • The client is using a bulk operation

  • A query using a subquery in form: (MDEV-32084arrow-up-right)

    could cause a crash in the optimizer. The essential part is that ON expression has only two kinds of references:

    1. to inner side of the outer join and

    2. to outside the subquery.

  • When executing SELECT MIN using loose index scan, if at least one of the WHERE condition is "f IS NULL", a memory violation may happen resulting in unexpected behaviour (MDEV-36220arrow-up-right)

  • find_order_in_list mismatch when order item needs fixing() (MDEV-36607arrow-up-right)

  • Wrong cardinality estimation for the derived table leads to slow plan with LATERAL DERIVED (MDEV-30877arrow-up-right)

  • If the join_condition is specified via USING (column_list), the query plan depends on the sequence of tables in the query (MDEV-36592arrow-up-right)

  • Cost estimates for materialized derived tables are poor (MDEV-35958arrow-up-right)

  • Large N-way OR causes a lot of index_merge variants to be created and discarded (MDEV-34620arrow-up-right)

  • Wrong result in loose index scan (MDEV-36118arrow-up-right)

  • group by handler missing constant fields when selecting from a view (MDEV-36307arrow-up-right)

Stored routines

Data Definition - Alter Table

Backup

  • mariadb-backup --backup crash during innodb_undo_log_truncate=ON, innodb_encrypt_log=ON (MDEV-36152arrow-up-right)

  • MariaDB Backup returns with an error like "Error on file ./test/t1#P#p513.MYD open during `test`.`t1` table copy for partitioned MyISAM tables when running out of file handles (MDEV-36437arrow-up-right)

  • make mariadb-backup to force an innodb checkpoint (MDEV-30000arrow-up-right)

GIS

Upgrades

Server

OTHER

Replication

  • A primary server could crash when a semi-sync connection is stopped, if the primary previously disabled semi-sync replication while the connection was already up (and `rpl_semi_sync_master_wait_no_slave=0`). (MDEV-36359arrow-up-right)

  • Semi-sync Replica Can't Kill Dump Thread When Using SSL (MDEV-36663arrow-up-right)

  • CREATE-or-REPLACE-SELECT with ROW binlog format may not log DROP TABLE events, potentially causing replication issues. (MDEV-35499arrow-up-right)

  • Mysqlbinlog --stop-position does not warn if EOF not reached with --read-from-remote-server (MDEV-35694arrow-up-right)

  • For transactions committing in one-phase using rollback-capable engines, if binlogging fails during commit, the overall transaction would still commit, when it should roll-back. (MDEV-35506arrow-up-right)

Character Sets

  • Assertion `src != ((void *)0)' failed in my_casedn_8bit (MDEV-36565arrow-up-right)

  • The collation utf8mb4_0900_bin is defined as an alias for utf8mb4_bin while it should be an alias of utf8mb4_nopad_bin, causing wrong comparison results. (MDEV-36361arrow-up-right)

Authentication and Privilege System

Galera

  • Galera updated to 26.4.22

  • With wsrep_ignore_apply_errors = 0, the node crashes due to assertion thd->is_error() failed in Sql_cmd_dml::prepare(), shown in the logs (MDEV-35946arrow-up-right)

  • In some cases, if there are MDL locks (for example, when LOCK TABLE is executed), a node could get stuck in the system thread due to incorrect handling of metadata locks (MDL) in server code when a transaction was BF aborted. (MDEV-35941arrow-up-right)

  • Regression after the fix for MDEV-31413arrow-up-right - sometimes the server crashes with an assertion in wsrep::transaction::before_rollback(), for example when using OPTIMIZE TABLE on an ARIA table with wsrep_osu_method=RSU. (MDEV-32631arrow-up-right)

  • SST failure occurs when gtid_strict_mode is enabled under high load, such as OLTP load is active on the primary node. A typical symptom of this error is the presence of the diagnostic "[ERROR] mariadbd: Error writing file 'binlog'", in the debug version it is also possible to crash on assertion in the wsrep::transaction::before_rollback() function with the message "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' failed". (MDEV-34891arrow-up-right)

  • In Galera, creating sequence with a small cache leads to signal 6 error: [ERROR] WSREP: FSM: no such a transition REPLICATING -> COMMITTED. (MDEV-33850arrow-up-right)

  • Under high load wsrep internal thread may terminate due to memory pressure conditions, but this is not a crash, however in debug version user may encounter assertion in wsrep_to_isolation_begin() function with following message: "int wsrep_to_isolation_begin(THD*, const char*, const char*, const TABLE_LIST*, const Alter_info*, const key_array*, const HA_CREATE_INFO*): Assertion `(0)' failed." (MDEV-36116arrow-up-right)

  • Assertion `commit_trx' failed in innobase_commit() (ha_innodb.cc). An INSERT with sql_log_bin=0 is still replicated in Galera (per MDEV-7205arrow-up-right), despite binary logging being disabled. This results in a partial binlog bypass, requiring a two-phase commit (2PC). During 2PC, the INSERT is first prepared (entering the PREPARED state in InnoDB), and on commit, the new assertion from MDEV-24035arrow-up-right fails, causing a crash with "Assertion 'commit_trx' failed" in logs. (MDEV-35658arrow-up-right)

  • A Galera node might hang if foreign key (FK) and unique key (UK) checks are disabled on multiple appliers executing INSERTs into the same table, because InnoDB might treat these operations as bulk inserts, leading one applier to acquire a table-level lock. If another applier with a lower sequence number then waits for this lock, a deadlock can occur within Galera. Specifically, the lock holder waits for the earlier applier to commit, while the earlier applier is blocked by the lock. (MDEV-36360arrow-up-right)

  • When a sequence is used and inserts run in parallel on multiple Galera nodes, a transaction may be aborted after passing certification. If it then attempts to roll back, the binlog statement cache—which includes reserved sequence values—may be written prematurely. This causes a crash with the diagnostic "WSREP: FSM: no such a transition REPLICATING -> COMMITTED" in the logs, as the transaction is supposed to replay and only write to the binlog during the final commit. (MDEV-33589arrow-up-right)

  • A Galera node may hang due to improper mutex handling: a thread held lock_sys.wait_mutex while triggering a streaming replication rollback, which also tried to acquire THD::LOCK_thd_kill, leading to incorrect mutex usage. In debug versions, this leads to diagnostics like "safe_mutex: Found wrong usage of mutex 'wait_mutex' and 'LOCK_thd_data'", but in both debug and release versions, there is some probability that the node may hang. (MDEV-36509arrow-up-right)

  • After a corrupted table on one node triggers the cluster to vote to evict a node that failed a transaction, the current master can't commit any more and hangs. To avoid this crash in the future, the user should also update the galera library to version 26.4.21+. (MDEV-34998arrow-up-right)

  • MariaDB service manager reports “WSREP state transfer ongoing...” via the system log although the transfer is complete. The script defined in `wsrep_notify_cmd` is not called after the state transfer, preventing the service manager from updating its status. (MDEV-35969arrow-up-right)

  • Selecting mysql.wsrep_streaming_log incorrectly not allowed when detached (MDEV-36527arrow-up-right)

  • Build fails with cmake 4.0.0 due to wsrep (MDEV-36422arrow-up-right)

Partitioning

Data Manipulation - Update

Virtual Columns

  • Server crashes when reading information_schema.COLUMNS after creating a table with virtual columns using the GIS data type (MDEV-36104arrow-up-right)

Plugin - Audit

Sequences

Data types

  • Comparison ROW(stored_func(),1)=ROW(1,1) erroneously called stored_func() twice per row. It led to a performance degradation, as well as to a double execution of the possible stored function side effects. (MDEV-36322arrow-up-right)

Configuration

Parser

Locking

Packaging

Scripts & Clients

JSON

Prepared Statements

Binary Protocol

  • When a CREATE TABLE .. SELECT errors while inserting data, a user would expect that all changes are rolled back and the table would not exist after executing the query; however, the error was accidentally ignored in the code, and the table would still exist. (MDEV-35207arrow-up-right)

Changelog

For a complete list of changes made in MariaDB 11.8.2, with links to detailed information on each push, see the changelog.

Contributors

For a full list of contributors to MariaDB 11.8.2, see the MariaDB Foundation release announcementarrow-up-right.

circle-info

Be notified of new MariaDB Server releases automatically by subscribingarrow-up-right to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.

MariaDB may already be included in your favorite OS distribution. More information can be found on the Distributions which Include MariaDB page.

This page is licensed: CC BY-SA / Gnu FDL

spinner

Last updated

Was this helpful?