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

删除一个目录后,它的子目录可能仍然被缓存 #5209

Closed
4 tasks done
ChenyangGao opened this issue Sep 13, 2023 · 1 comment
Closed
4 tasks done

删除一个目录后,它的子目录可能仍然被缓存 #5209

ChenyangGao opened this issue Sep 13, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@ChenyangGao
Copy link

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.26.0

Driver used / 使用的存储驱动

115

Describe the bug / 问题描述

我用 alist 的网页 api ,发现了一个bug

  1. 首先,我用 /api/fs/mkdir ,创建了一个目录 /115/a/b/c
    刷新网页版后,我可以看到 /115/a/b/c 存在
  2. 然后,我用 /api/fs/remove,删除了 /115/a
    这时,刷新网页版,/115/a 目录不见了
  3. 然后,我用 /api/fs/mkdir,再创建 /115/a/b/c,就报错
    {'code': 500,
    'message': '{"state":false,"error":"文件不存在或已删除。","errno":20018,"errtype":""}: unexpected error',
    'data': None}
  4. 然后我用 /api/fs/mkdir,创建 /115/a ,我看到 /115/a 这个目录可以成功创建,但点进去一看,/115/a/b 也存在,也就是 /115/a 里面不是空的,我刷新一个115客户端,只有 /115/a/,里面是空的,115的客户端的行为是正确的

Reproduction / 复现链接

...

Config / 配置

...

Logs / 日志

...

@ChenyangGao ChenyangGao added the bug Something isn't working label Sep 13, 2023
@welcome
Copy link

welcome bot commented Sep 13, 2023

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

@xhofe xhofe closed this as completed in 28e2731 Sep 13, 2023
@xhofe xhofe modified the milestones: next, v3.28.0 Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants