alist icon indicating copy to clipboard operation
alist copied to clipboard

PikPak同时上传多个大文件,成功后全是同一个文件

Open hwego opened this issue 3 years ago • 1 comments

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 alist and not something else(such as Dependencies or Operational).

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

hwego avatar Jul 25 '22 13:07 hwego

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Jul 25 '22 13:07 welcome[bot]

Fixed at v3

xhofe avatar Sep 09 '22 09:09 xhofe