sjqzhang / go-fastdfs

go-fastdfs 是一个简单的分布式文件系统(私有云存储),具有无中心、高性能,高可靠,免维护等优点,支持断点续传,分块上传,小文件合并,自动同步,自动修复。Go-fastdfs is a simple distributed file system (private cloud storage), with no center, high performance, high reliability, maintenance free and other advantages, support breakpoint continuation, block upload, small file merge, automatic synchronization, automatic repair.(similar fastdfs).
https://gitee.com/sjqzhang/go-fastdfs
The Unlicense
3.91k stars 745 forks source link

大文件路径转换问题 #402

Closed swiftsnail001 closed 1 year ago

swiftsnail001 commented 1 year ago

目前使用中发现,通过大文件方式上传文件后,在服务器在回复204代表上传文件成功,此时立即通过文件秒传接口进行路径转换,返回的结果是空的。 需要等待一段时间,再次请求路径转换接口,才能返回正常的结果。 这个是不是有性能问题?或者说什么时候才能进行路径转换?

sjqzhang commented 1 year ago

上传成功,等一段时间是因为系统在转存,可以通过回调,具体参考内置上传页面的方法。