Cleanup of failed download may misbehave
还没有人认领这个 Issue。
评估
调研方向
从 download_project_is_running() 开始,跟踪项目目录清理与其他活动 future 的关系。使用链接的 Mergin Maps issue 了解所报告的失败场景。完成的标准是:清理会等待所有下载任务完成,并且在下载失败时不再失败。
由索引模型根据 Issue 内容生成。
描述
Sometimes if a download fails, the subsequent cleanup of the project directory may fail as well: https://github.com/MerginMaps/qgis-mergin-plugin/issues/442#issuecomment-1212909680
While it looks like some other app is using the downloaded files, it is possible that we are doing the cleanup too early - e.g. in download_project_is_running() we do the cleanup while some other futures may be still active: we should wait until all jobs are done before doing any cleanup.
- 主要语言
- Python
- 星标
- 23
- 派生
- 12
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 7
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MerginMaps/python-api-client 的其他 Issue
-
Vacuuming 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
MerginMaps/python-api-client#320 ·
-
难度 5/5 一周以上 新手友好度 30/100
MerginMaps/python-api-client#270 ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
MerginMaps/python-api-client#257 · 3 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 25/100
MerginMaps/python-api-client#254 · 1 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
MerginMaps/python-api-client#245 ·
查看 MerginMaps/python-api-client 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
canonical/paas-charm#368 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
tech debt
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 1/5 1 小时以内 新手友好度 90/100
StevenBlack/hosts#3256 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
qualcomm/qai-appbuilder#275 ·