[MXS-4747] log_throttling is hard to modify via MaxCtrl Created: 2023-09-07  Updated: 2023-09-13  Resolved: 2023-09-13

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 2.5.28, 6.4.10, 22.08.8, 23.02.4
Fix Version/s: 2.5.29, 6.4.11, 22.08.9, 23.02.5

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


 Description   

The "documented" syntax for configuring the parameter is not accepted when used with MaxCtrl:

maxctrl alter maxscale log_throttling=1,2s,3s
Error: Server at http://127.0.0.1:8989 responded with 400 Bad Request to `PATCH maxscale`
{
    "errors": [
        {
            "detail": "log_throttling: Expected a json object, but got a json string."
        }
    ]
}

This is because parameter expects a JSON object and is lacking the string conversion fallback.


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