causal_reads

Configures read causality, reads subsequent to writes issued in manner to reduce replication lag.

See also: Module Parameters in 6.1, in 2.5, in 2.4, and in 2.3

DETAILS

Read/Write Split router supports read causality operations. When enabled, following write operations, MaxScale adjusts subsequent reads to reduce replication lag.

Option

Description

none

Disables read causality.

local

Writes visible to the connection that issues the write statement, waits for the Replica Server to catch up. Writes performed by other connections are not visible.

global

Writes visible to all connections. When one connection performs a write, all connections to the same service can see it.

fast

Writes visible to the connection that issues the write statement, but does not wait for the Replica Server to catch up. Writes performed by other connections are not visible.

EXTERNAL REFERENCES