[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:
Relates
relates to MCOL-1607 postConfigure must support hostnames ... Closed
relates to MCOL-2129 Add a new postConfigure flag to resol... Closed
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.

Generated at Thu Feb 08 02:33:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.