[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: |
|
| 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. |