[MXS-2141] Retry read on master when causal_reads timeout is exceeded Created: 2018-11-06  Updated: 2018-11-08  Resolved: 2018-11-08

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: 2.3.0
Fix Version/s: 2.3.1

Type: New Feature Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Attachments: File patch.diff    

 Description   

If a read done with causal_reads=true is done on a slave and it fails due to a timeout, the query could be retried on the master and we'd be guaranteed to get up-to-date data.

Attached a patch that implements this to the issue.



 Comments   
Comment by markus makela [ 2018-11-08 ]

The query is now retried on the master instead of an error being returned.

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