ptyin commented on issue #12: URL: https://github.com/apache/incubator-seata-k8s/issues/12#issuecomment-1909226741
> The underlying reason is that seata-server would call `NetUtil.convertIpIfNecessary` method to translate host name of the headless service subdomain, e.g., "seata-server-0.seata-server-cluster". However, the coredns service may not add the service name registry yet, leading to the occasional `UnknownHostException`. The SEATA_IP is the host name of the headless service subdomain, e.g., "seata-server-0.seata-server-cluster". It is a DNS resolution error. The actual underlying reason is the server starts up before Kubernetes coredns adding the "seata-server-0.seata-server-cluster" registry, leading to the occasional UnknownHostException. It is a bug though. I will provide a PR to fix it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
