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
No description provided.
The text was updated successfully, but these errors were encountered:
有没有可能是下载软件的问题
Sorry, something went wrong.
用的是curl下载,一个func内既有上传文件(curl -u XXX:XXX http://10.253.0.2:8001 -F [email protected])的部分又有下载文件(curl -u XXX:XXX http://10.253.0.2:8001/XXX.json -O)的部分,func在不同节点(总计四台服务器)上每台同时起500+的goroutine,最后共计有4-6个func下载的文件(XXX.json)是空的,现在给上传和下载加了读写锁,就没有下载失败的问题了
奥,猜测应该 是上传的时候会有一小段时间,会将文件至为空。所以下载有概率下载到空文件。
嘶😂,文件覆盖的时候能加锁不,阻塞一下读取请求
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: