alist
alist copied to clipboard
PikPak同时上传多个大文件,成功后全是同一个文件
Please make sure of the following things
- [X] I have read the documentation.
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure it's due to
alistand not something else(such asDependenciesorOperational).
Alist Version / Alist 版本
v2.6.3
Driver used / 使用的存储驱动
PikPak
Describe the bug / 问题描述
PikPak上传,选择多个不相同的大文件同时上传,上传完成后得到的全是同一个文件。 通过查看源码,发现上传接口使用了固定的hash字段,怀疑是因为触发秒传导致所有文件都变成了同一个: https://github.com/alist-org/alist/blob/v2/drivers/pikpak/driver.go#L247
Reproduction / 复现链接
PikPak上传,选择多个不相同的大文件同时上传。 小文件也能复现,但大文件更加容易复现。 选择单个文件上传没问题。
Logs / 日志
No response
Thanks for opening your first issue here! Be sure to follow the issue template!
Fixed at v3