[MXS-1505] Retry failed writes Created: 2017-10-30  Updated: 2018-04-13  Resolved: 2018-04-13

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

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

Epic Link: Transparent master failover
Sprint: MXS-SPRINT-55

 Description   

Overview

If a write fails when autocommit is enabled and no transactions are open, it is safe to attempt a retry of the query if a replacement master server is available.

Task Details

This task is mainly about refactoring the retrying code to handle multiple types of queries and targets. The rough outline of this task is:

  • Store target type of the active query
  • Abstract retrying by trying to find a server of the same target type
  • Take the new code into use for both reads and writes


 Comments   
Comment by markus makela [ 2018-04-10 ]

This was covered by MXS-1506 and no separate work was required.

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