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
var.go:87: call Transfer.Update fail connection is shut down
如果后端的transfer或者gateway重启,导致swcollector现有建立的链接断开,那么在发送数据的时候则会失败。 而实际上在发送数据时刻,transfer或者gateway服务是正常的。 因此在rpc.go this.insureConn() 这个函数调用中,最好增加对链接状态的检查,如果链接是已经被断开的链接,那么需要重新建立一个新的链接。
this.insureConn()
或者在发送的时候增加重试,默认重试三次没有成功再丢弃也可以。
The text was updated successfully, but these errors were encountered:
另外,建议增加支持多个transfer的发送
Sorry, something went wrong.
恩,这是个问题。swcollector 的 transfer rpc 是基于早期版本的 falcon-agent 做的。 确实没更新了,下个版本合并下,把最新版的 falcon-agent 里的相关代码合进来
No branches or pull requests
var.go:87: call Transfer.Update fail connection is shut down
如果后端的transfer或者gateway重启,导致swcollector现有建立的链接断开,那么在发送数据的时候则会失败。
而实际上在发送数据时刻,transfer或者gateway服务是正常的。
因此在rpc.go
this.insureConn()
这个函数调用中,最好增加对链接状态的检查,如果链接是已经被断开的链接,那么需要重新建立一个新的链接。或者在发送的时候增加重试,默认重试三次没有成功再丢弃也可以。
The text was updated successfully, but these errors were encountered: