Release Notes for MariaDB MaxScale 6.1.1
This page is part of MariaDB's Documentation.
The parent of this page is: Release Notes for MariaDB MaxScale 6
Topics on this page:
Overview
MariaDB MaxScale is an advanced database proxy, firewall, and query router.
MariaDB MaxScale 6.1.1 was released on 2021-08-26. This release is of General Availability (GA) maturity.
Notable Changes
NoSQL Listener
MariaDB MaxScale's nosqlprotocol module supports a subset of MongoDB commands. This module transparently translates MongoDB commands to the equivalent SQL statements and executes queries on JSON data stored on a MariaDB backend. (MXS-2646)
This feature is provided as a Technical Preview and should not be used for production workloads.
Ingest data from Apache Kafka (MXS-2588)
MariaDB MaxScale's KafkaImporter module reads messages from Apache Kafka and streams JSON to a MariaDB backend.
Connect and query from MaxScale's web GUI (MXS-3257)
MariaDB MaxScale's MaxGUI integrates a visual client. The visual client allows you to connect to and query a MariaDB backend.
New Features
Automatically sync MaxScale configuration data
MariaDB MaxScale's config_
sync_ parameter enables synchronization of configuration changes between MaxScale instances through a MaxScale-monitored database. (MXS-2808)cluster Prior to this feature, configuration sync was performed outside MaxScale, either manually or with custom automation.
Pipelined execution of write statements by Read-Write Split Router
The
readwritesplit
router supports pipelined execution of write statements. No action is needed to enable this feature. (MXS-1245)
PAM Authenticator user mapping
The pam_
backend_ parameter of themapping PAMAuth
authenticator enables mapping of users to normal MariaDB accounts. (MXS-3475)
Automated failover for KafkaCDC and Avrorouter
The cooperative_
replication parameter of thekafkacdc
router enables high availability through automated failover between multiple MaxScale instances. (MXS-1687)The cooperative_
replication parameter of theavrorouter
router enables high availability through automated failover between multiple MaxScale instances. (MXS-1687)
Read Connection Router read restriction
The master_
accept_ parameter has been added to thereads readconnroute
router. (MXS-3091)By default,
master_accept_reads=true
When
master_accept_reads=false
,readconnroute
will not route reads to the current Primary (master) server.
Replication lag triggered script execution
The script_
max_ parameter of thereplication_ lag mariadbmon
monitor triggers the execution of a defined script when replication lag exceeds a defined threshold. (MXS-2723)
Enforce writable Primary (master)
A Primary (master) should never become read-only during normal operations, but it could become read-only in certain problematic circumstances. For example:
The Primary could become read-only if the database administrator accidentally set read_
only toON
on the server.The Primary could remain read-only if
mariadbmon
promoted the node to Primary during a switchover or failover, but MaxScale crashed beforemariadbmon
could set read_only toOFF
on the new Primary.
To configure the behavior of
mariadbmon
when it detects that the Primary has become read-only, the enforce_writable_ parameter has been added to themaster mariadbmon
monitor:When the
enforce_writable_master
parameter is set totrue
,mariadbmon
will remove the read-only state from the Primary. The Primary will temporarily be unavailable for writes whilemariadbmon
corrects the state of the node. (MXS-3268)When the
enforce_writable_master
parameter is set tofalse
,mariadbmon
will failover to a new Primary.
Prior to this release,
mariadbmon
would always failover to a new Primary.
Operational Enhancements
maxctrl accepts configuration defaults
MaxScale logs via REST API
The MaxScale REST API enables access to MaxScale log data through HTTP calls or a WebSocket stream.
Runtime filter changes
Individual listeners can be stopped
Session command history limit
readwritesplit
router supports the max_sescmd_ parameter to limit the session command history.history readwritesplit
router statistics now includeavg_sescmd_history_length
andmax_sescmd_history_length
to aid in tuningmax_sescmd_history
(MXS-2748)
View Logs from MaxGUI
MariaDB MaxScale's MaxGUI integrates log viewing, accessible using the "MaxScale Logs" tab. (MXS-3154)
Other Changes
dbfwfilter is deprecated (but not removed) in MaxScale 6. An alternative solution will be provided with MaxScale 7.
Multi-line configuration parameters are deprecated (but not removed) in MaxScale 6. Multi-line configuration parameters will be removed with MaxScale 7.
The default value of
threads
has changed from1
toauto
(MXS-3537)