MXS-3314: Document causal_reads limitations

Also documented the fact that CCRFilter doesn't support prepared
statements.
This commit is contained in:
Markus Mäkelä 2020-12-02 15:49:53 +02:00
parent e17e0b8f59
commit e3aff8babe
No known key found for this signature in database
GPG Key ID: 5CE746D557ACC499
2 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,9 @@ hint guides the routing module to route the statement to the master server where
data is guaranteed to be in an up-to-date state. Writes from one session do not,
by default, propagate to other sessions.
*Note:* This filter does not work with prepared statements. Only text protocol
queries are handled by this filter.
### Controlling the Filter with SQL Comments
The triggering of the filter can be limited further by adding MaxScale supported

View File

@ -564,6 +564,10 @@ 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 prepared statements. Only SQL
statements executed individually (inside a COM_QUERY packet) can be handled by
the causal read mechanism.
**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