[MXS-4724] slave_selection_criteria should accept lowercase version of the values Created: 2023-08-18 Updated: 2023-09-06 Resolved: 2023-09-06 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | readwritesplit |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.29, 6.4.11, 22.08.9, 23.02.5, 23.08.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | MXS-SPRINT-190 |
| Description |
|
The slave_selection_criteria parameter in MaxScale is the only one that requires uppercase names for the enumeration values. This is inconsistent as nearly all other enumeration values are in lowercase, the only exception being the ssl_version parameter. Either readwritesplit must accept lowercase versions of these names and retain the uppercase ones as legacy parameter or the enumerations should be made case-insensitive. |
| Comments |
| Comment by markus makela [ 2023-09-06 ] |
|
Lowercase versions of the names are now accepted as well. At the same time, the legacy uppercase versions will be deprecated in 23.08.1 after which all persisted runtime modifications will use the new versions. |