We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etcd 短时间内出现两次异常后,部分服务没有注册到etcd中。复现发现代码中只重试了一次(配置最大5次),然后就退出了。
复现方式: 部署三节点etcd集群,在其中两台机器上, 通过iptables, 5秒禁用2379,2380端口,然后5秒开启。 就会出现未到最大重试次数,就退出。
kratos -v
go version
cat /etc/os-release
The text was updated successfully, but these errors were encountered:
fix: The intermittent abnormality of etcd has caused registration fai…
acfdd14
…lure. (go-kratos#3464)
No branches or pull requests
What happened:
etcd 短时间内出现两次异常后,部分服务没有注册到etcd中。复现发现代码中只重试了一次(配置最大5次),然后就退出了。
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
复现方式:
部署三节点etcd集群,在其中两台机器上, 通过iptables, 5秒禁用2379,2380端口,然后5秒开启。 就会出现未到最大重试次数,就退出。
Environment:
kratos -v
):go version
):cat /etc/os-release
):The text was updated successfully, but these errors were encountered: