-
Notifications
You must be signed in to change notification settings - Fork 50
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
ConnPool获取失效连接 #12
Comments
@ianwoolf 能给出更详细的分析 或者 直接提pull-request,我们来review |
从free中获取链接,没有适当的探活。 导致当一个链接,处于free的状态并且因网络或者服务配置不当而断掉的时候,transfer会获取这个链接导致发送失败。 目前只有失败删除链接,但没有获取的时候进行探活。 不过貌似问题不是普遍性的,只是这样会造成100%失败的操作会一直重复,造成数据有一定延迟。 |
或者失败了重新获取一个连接重发 |
conn := ConnPool.Fetch() |
补充一点: |
请问这个问题有解决吗?目前遇到一个类似的问题,graph history查不到最近的数据,重启graph就好了,疑似连接重建就好了 |
如果连接超时或者因网络问题断掉,ConnPool仍可以从free中获取这个连接,造成使用这个连接发送数据都会失败。
The text was updated successfully, but these errors were encountered: