strict_multi_stmt

Overview

Routes multi-statement queries to the Primary Server.

See also: Module Parameters for MariaDB MaxScale 22.08 and in 6

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.

CHANGE HISTORY

Release Series

History

22.08

  • Present starting in MariaDB MaxScale 22.08.0.

6

  • Present starting in MariaDB MaxScale 6.0.0.

EXTERNAL REFERENCES