[MCOL-2133] Enforce max hostname length of 60 characters in postConfigure Created: 2019-02-04 Updated: 2023-10-26 Resolved: 2019-07-10 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ?, installation |
| Affects Version/s: | 1.2.2 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jens Röwekamp (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Sprint: | 2019-01, 2019-02, 2019-03, 2019-04 | ||||||||||||
| Description |
|
To avoid UM replication errors between UMs if hostnames are chosen, hostnames need to have less than 61 characters, as mysql.user only allows 60 characters for hostnames. Consequently, postConfigure shouldn't accept hostnames or reverse DNS hostnames longer than 60 characters. |
| Comments |
| Comment by David Thompson (Inactive) [ 2019-02-11 ] |
|
The underlying issue here is more of an MDEV as this is a limitation of the mariadb user table. I think a better fix is to properly catch and detect the presumable error when the user is created - this is obviously not being passed back to postConfigure. |