Hi,
We have discovered that after converting from IP to hostname and using the new replication service, it is very easy to break replication by using a "long" cluster name. It appears that the cluster_*_cluster_incoming_addresses field is limited to 255 characters. If I calculated it correctly, the actual limit for the cluster name is currently 11 characters (assuming there are no more than 10 workers).
6.2.122
| cluster_manticorecustomer62122_cluster_incoming_addresses | 10.0.128.44:9312,10.0.128.44:9315:replication
6.3.8
| cluster_manticorecustomer6381_cluster_incoming_addresses | manticorecustomer6381-manticoresearch-worker-0.manticorecustomer6381-manticoresearch-worker-replication-svc.manticorecustomer6381.svc.cluster.local:9312,manticorecustomer6381-manticoresearch-worker-0.manticorecustomer6381-manticoresearch-worker-replicatio |
The ALTER CLUSTER ADD command freezes because it is unable to resolve the truncated hostname (without producing an error, as far as we know).
Hi,
We have discovered that after converting from IP to hostname and using the new replication service, it is very easy to break replication by using a "long" cluster name. It appears that the
cluster_*_cluster_incoming_addressesfield is limited to 255 characters. If I calculated it correctly, the actual limit for the cluster name is currently 11 characters (assuming there are no more than 10 workers).6.2.122
6.3.8
The ALTER CLUSTER ADD command freezes because it is unable to resolve the truncated hostname (without producing an error, as far as we know).