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