radondb-mysql-kubernetes icon indicating copy to clipboard operation
radondb-mysql-kubernetes copied to clipboard

[bug] Create a cluster on the qckp interface. The cluster name is 32 characters long. The slave node cannot be connected to the master node

Open qianfen2021 opened this issue 2 years ago • 1 comments

Describe the problem

Create a cluster on the qckp interface. The cluster name is 32 characters long. The slave node cannot be connected to the master node

2022-06-23T09:52:26.006978+08:00 6 [ERROR] Slave I/O for channel '': error connecting to master 'radondb_repl@radondb-sm9al1-12345678998766666-mysql-0.radondb-sm9al1-1234:3306' - retry-time: 60 retries: 1053, Error_code: 2005

To Reproduce

1.Enter the qkcp application store and deploy the MySQL Cluster 2.Enter the cluster name, 32 characters long, and click the Create button

Expected behavior

create success

Environment:

  • RadonDB MySQL version:v2.2.0-beta.2

qianfen2021 avatar Jun 23 '22 01:06 qianfen2021

https://dev.mysql.com/worklog/task/?id=12571 It is MySQL 5.7 's bug, host name just no more 60 So the cluster name never over clustername+9+clustername + 6 + 1 + namespace <= 60 so the clustername length is less then (44-namesapce)/2

acekingke avatar Jun 24 '22 01:06 acekingke