[MXS-2399] ReadWriteSplit should write warning to log if causal_reads is set when requirements not met Created: 2019-03-20  Updated: 2020-02-26  Resolved: 2020-02-26

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: 2.3.3
Fix Version/s: 2.5.0

Type: Bug Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Epic Link: Router Improvements
Sprint: MXS-SPRINT-100

 Description   

The causal_reads parameter of ReadWriteSplit has the following requirements:

Note: This feature requires MariaDB 10.2.16 or newer to function. In addition to this, the session_track_system_variables parameter must be set to last_gtid.

https://mariadb.com/kb/en/mariadb-maxscale-23-readwritesplit/#causal_reads

It might be helpful for troubleshooting if ReadWriteSplit could write a warning to the error log if causal_reads is enabled when these requirements are not met.



 Comments   
Comment by markus makela [ 2020-02-14 ]

Could be made into a general permission check mechanism that executes some code for all used servers of a service. Could also be used for monitor and service user permissions checks.

Generated at Thu Feb 08 04:13:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.