[MXS-1384] maxscale.cnf script field length limitation Created: 2017-09-01 Updated: 2017-09-05 Resolved: 2017-09-05 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Monitor |
| Affects Version/s: | 2.1.6 |
| Fix Version/s: | 2.1.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Igor V. Lovalev | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
centos 6 x86_64 |
||
| Description |
|
Hi there!
The trouble is - script string with arguments is truncated when it executed. Debug script and logs attached:
I can't find in documentation about this limitation. It's very critical and important for me, cuz on my prod i use long DNS mysql server names :'( Could you please remove this limitation, or defined it into documentation? |
| Comments |
| Comment by markus makela [ 2017-09-01 ] |
|
The maximum line length for a configuration parameter is 16384 characters and each script appears to be limited to 126 argument strings and you should be well under these limitations. I managed to reproduce this locally and the last parameter was truncated. |
| Comment by Igor V. Lovalev [ 2017-09-02 ] |
|
Hi, Markus! Thank you so much for ur reaction & solution |