wsrep_dirty_reads
This page is part of MariaDB's Documentation.
The parent of this page is: System Variables for MariaDB Enterprise Server
Topics on this page:
Overview
Permit read operations when the node is in a non-operational component.
See also: System Variables for MariaDB Enterprise Server 11.4, in 10.6 ES, in 10.5 ES, in 10.4 ES, in 10.3 ES, in 10.2 ES, in 10.6 CS, in 10.5 CS, in 10.4 CS, in 10.3 CS, and in 10.2 CS
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
Command-line | --wsrep_dirty_reads[={OFF| |
Configuration file | Supported |
Dynamic | Yes |
Scope | Global, Session |
Data Type | BOOLEAN (OFF, ON) |
Product Default Value | OFF |
CHANGE HISTORY
Release Series | History |
---|---|
11.4 Enterprise |
|
10.6 Enterprise |
|
10.6 Community |
|
10.5 Enterprise |
|
10.5 Community |
|
10.4 Enterprise |
|
10.4 Community |
|
10.3 Enterprise |
|
10.3 Community |
|
10.2 Enterprise |
|
10.2 Community |
|
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.