Skip to content
New issue

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

when etcd connection fails, if wait is not empty, set the timeout to wait #223

Merged
merged 3 commits into from
Oct 20, 2021

Conversation

Sphairis
Copy link
Contributor

@Sphairis Sphairis commented Oct 18, 2021

问题:
etcd挂了,sdk调用kie查询配置接口,query有等待时间wait和revision,sdk查询设置20秒超时,而kie会先查询revision,查询revision的时候无法连接etcd并且设置30秒超时,这会导致sdk一直无法获取kie的返回结果,日志显示连接超时并一直重试,期望是返回错误码即可。

@tianxiaoliang
Copy link
Contributor

tianxiaoliang commented Oct 18, 2021

请补充问题场景,而不只是后台发生什么,以及如何修复的。

如果没有问题场景,我们很难谈如何解决问题

@Sphairis
Copy link
Contributor Author

请补充问题场景,而不只是后台发生什么,以及如何修复的。

如果没有问题场景,我们很难谈如何解决问题
已添加

@little-cui little-cui merged commit 24016a7 into apache:master Oct 20, 2021
@Sphairis Sphairis deleted the timeout branch May 20, 2022 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants