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

FastDFS 上传文件上传成功后 用返回的地址去下载后发现并不是上传的文件 #683

Open
halo1228 opened this issue Jan 3, 2024 · 1 comment

Comments

@halo1228
Copy link

halo1228 commented Jan 3, 2024

上传文件后 返回文件地址, 在用返回的文件地址去下载文件并不是原本上传的文件

@happyfish100
Copy link
Owner

用的是Java SDK吗?你们这个问题应该是多线程中实例了同一个 TrackerClient 或者 StorageClient导致的。
注:TrackerClient 和 StorageClient 均为非线程安全,需要在使用时创建对象或者使用对象池。

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

No branches or pull requests

2 participants