Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
6.4.10, 22.08.8, 23.02.4, 23.08.1
-
None
Description
When causal_reads=global is used in readwritesplit, there's no way to reset the global GTID state without either restarting MaxScale or destroying the service. One example where this could happen is if a cluster is restored from a backup and the GTID goes back to an earlier state. If extra GTIDs or diverged domains were recorded in readwritesplit, the only way to remedy the situation is to restart MaxScale.
A simple solution to this is to provide a module command in readwritesplit that resets the global GTID state.