caiconghui commented on PR #9172: URL: https://github.com/apache/doris/pull/9172#issuecomment-1328157457
1. enable_fqdn_mode is mainly used in k8s environment, not be compatible with old cluster, when set true, the FQDN may not work, because origin's be hostName is null, but would not affect the behavior of the whole cluster. 2. when enable_fqdn_mode is true, the FDQNManager would detect be ip change every some seconds, and would check hostName needed by backend when add backend, you sholud specify "hostName:port" or still give "ip:port" with that cluster can get hostName by ip, otherwise, add add backend would failed. 3. now for be, if drop or modify backend cluster would check backend's hostname and port is same or then ip and port is same. 4. check interval is 5 seconds, it means FDQNManager would check every 5 seconds, and other value is also ok, it just affect the be ip detect time 5. if be's ip change, then the FDQNManager would invalidate all client cache to be, and set the new ip for the be. 6. finally all be and fe connection is still based all ip, this logic keep unchanged -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org