[MXS-3536] max_slave_connections=0 doesn't work as expected Created: 2021-05-06  Updated: 2021-09-09  Resolved: 2021-05-07

Status: Closed
Project: MariaDB MaxScale
Component/s: readwritesplit
Affects Version/s: 2.5
Fix Version/s: 2.5.12

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

Issue Links:
Relates
relates to MXS-3119 To be able to force all the connectio... Closed
relates to MXS-3281 r/w split slave_selection_criteria sh... Closed

 Description   

The max_slave_connections parameter is not documented with a minimum required value but configuring it with a value smaller than one causes the session creation to fail. One would expect that max_slave_connections=0 will not open any slave connections and only open one connection to the master.

Additionally, negative values are not detected when they should be treated as a configuration error.


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