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
readwritesplitrouter 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 PAMAuthauthenticator enables mapping of users to normal MariaDB accounts. (MXS-3475)
Automated failover for KafkaCDC and Avrorouter
The cooperative_
replication parameter of thekafkacdcrouter enables high availability through automated failover between multiple MaxScale instances. (MXS-1687)The cooperative_
replication parameter of theavrorouterrouter 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 readconnrouterouter. (MXS-3091)By default,
master_accept_reads=trueWhen
master_accept_reads=false,readconnroutewill not route reads to the current Primary (master) server.
Replication lag triggered script execution
The script_
max_ parameter of thereplication_ lag mariadbmonmonitor 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 toONon the server.The Primary could remain read-only if
mariadbmonpromoted the node to Primary during a switchover or failover, but MaxScale crashed beforemariadbmoncould set read_only toOFFon the new Primary.
To configure the behavior of
mariadbmonwhen it detects that the Primary has become read-only, the enforce_writable_ parameter has been added to themaster mariadbmonmonitor:When the
enforce_writable_masterparameter is set totrue,mariadbmonwill remove the read-only state from the Primary. The Primary will temporarily be unavailable for writes whilemariadbmoncorrects the state of the node. (MXS-3268)When the
enforce_writable_masterparameter is set tofalse,mariadbmonwill failover to a new Primary.
Prior to this release,
mariadbmonwould 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
readwritesplitrouter supports the max_sescmd_ parameter to limit the session command history.history readwritesplitrouter statistics now includeavg_sescmd_history_lengthandmax_sescmd_history_lengthto 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
threadshas changed from1toauto(MXS-3537)
