[MXS-4696] Readwritesplit does not detect unrecoverable situations Created: 2023-08-03  Updated: 2023-08-21  Resolved: 2023-08-08

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: 2.5.27, 6.4.8, 22.08.7, 23.02.2
Fix Version/s: 2.5.28, 6.4.9, 22.08.8, 23.02.4

Type: Bug Priority: Minor
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

If all the backends used by a readwritesplit session failed in a way that is considered a permanent failure, the retrying of interrupted queries is done regardless of this. This makes failures slower than they should be when the unrecoverable state could be detected much earlier.

An easy way to test this is to use connection_init_sql_file with invalid SQL in it and then configure readwritesplit with transaction_replay. With the default timeout of 10 seconds, the failure will take 10 seconds to be reported to the client instead of being reported instantly when the initialization failure is seen.


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