未验证 提交 7545bd3c 编写于 作者: J Jason Song 提交者: GitHub

Merge pull request #1415 from nobodyiam/fix-issue-1413

check meta server real path
......@@ -161,7 +161,8 @@ public class MetaDomainConsts {
for (String address : metaServers) {
address = address.trim();
if (NetUtil.pingUrl(address)) {
//check whether /services/config is accessible
if (NetUtil.pingUrl(address + "/services/config")) {
// select the first available meta server
selectedMetaServerAddressCache.put(metaServerAddresses, address);
serverAvailable = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册