MXS-2643: Mention Galera in causal_reads documentation

causal_reads does not work with servers that update their state via
mechanisms other than the standard replication. In practice this is just
another Galera limitation.
This commit is contained in:
Markus Mäkelä
2019-12-02 07:40:47 +02:00
parent 5ae2d02215
commit 1e57c2cb67

View File

@ -487,6 +487,14 @@ modifications done by the client itself.
addition to this, the `session_track_system_variables` parameter must be set
to `last_gtid`.
**Note:** This feature does not work with Galera or any other non-standard
replication mechanisms. As Galera does not update the `gtid_slave_pos`
variable when events are replicated via the Galera library, the
[`MASTER_GTID_WAIT`](https://mariadb.com/kb/en/library/master_gtid_wait/)
function used by MaxScale to synchronize reads will wait until the
timeout. With Galera this is not a serious issue as it, by nature, is a
mostly-synchronous replication mechanism.
A practical example can be given by the following set of SQL commands executed
with `autocommit=1`.