wsrep_dirty_reads

Permit read operations when the node is in a non-operational component.

See also: System Variables for MariaDB Enterprise Server 10.6, in 10.5 ES, and in 10.4 ES

DETAILS

When a Cluster Node starts, it begins as a non-operational component. As it establishes network connectivity with other nodes, it grows this component. The nodes do not become operational until they find the Primary Component.

This system variable configures how the Cluster Node handles read operations when it is not part of the Primary Component. When set to OFF, read operations return an error. When set to ON, the node executes read operations against its local database. This ensures that the node can still handle reads, but it also means that the node may return data that is inconsistent with the cluster.

PARAMETERS

Dynamic

Yes

Scope

Global, Session

Data Type

BOOLEAN (OFF, ON)

Default Value

OFF

SKYSQL

Cloud

SkySQL Topology

ES Ver

Default

AWS

HA (Primary/Replica)

10.4

OFF (choices: ON, OFF)

AWS

HA (Primary/Replica)

10.5

OFF (choices: ON, OFF)

AWS

Transactional Standalone

10.4

OFF (choices: ON, OFF)

AWS

Transactional Standalone

10.5

OFF (choices: ON, OFF)

AWS

Distributed Transactions

10.5

Not present (choices: ON, OFF)

GCP

ColumnStore

10.5

OFF (choices: ON, OFF)

GCP

ColumnStore Multi

10.5

OFF (choices: ON, OFF)

GCP

Galera

10.4

OFF (choices: ON, OFF)

GCP

Galera

10.5

OFF (choices: ON, OFF)

GCP

HA (Primary/Replica)

10.4

OFF (choices: ON, OFF)

GCP

HA (Primary/Replica)

10.5

OFF (choices: ON, OFF)

GCP

HTAP

10.5

OFF (choices: ON, OFF)

GCP

Transactional Standalone

10.4

OFF (choices: ON, OFF)

GCP

Transactional Standalone

10.5

OFF (choices: ON, OFF)

GCP

Distributed Transactions

10.5

Not present (choices: ON, OFF)

CHANGE HISTORY

Release Series

History

10.6 Enterprise

  • Present starting in MariaDB Enterprise Server 10.6.4-1.

10.5 Enterprise

  • Present starting in MariaDB Enterprise Server 10.5.3-1.

10.4 Enterprise

  • Present starting in MariaDB Enterprise Server 10.4.6-1.

EXTERNAL REFERENCES