strict_multi_stmt

Overview

Routes multi-statement queries to the Primary Server.

See also: Module Parameters for MariaDB MaxScale 6, in 2.5, in 2.4, and in 2.3

DETAILS

In cases where a client attempts to execute a multi-statement query, it can create issues where a write operation among the statements is routed to the Replica Server rather than to the Primary. This module parameter causes multi-statement queries to always route to the Primary Server, ensuring a consistent session state. Enable this module parameter in cases where multi-statement queries will cause an inconsistent session.

EXTERNAL REFERENCES