MongoDB: ListTagsOfResource during a table's DELETING window returns no tags once the delete call has removed them
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 77/100
调研方向
阅读 crates/storage-mongodb/src/table_engine.rs 中删除语句的顺序,并将其与 issue 中描述的 PostgreSQL、SQLite 和 Cassandra 行为进行比较。按照 issue 的建议,将 tag 的 delete_many 移到与 catalog 的 delete_one 同时运行,或在其之后运行。确认在表处于 DELETING 状态的整个期间,ListTagsOfResource 都会返回这些 tags。
由索引模型根据 Issue 内容生成。
描述
Summary
On MongoDB, DeleteTable marks the catalog document DELETING, drops the collections, removes the tag documents, and then deletes the catalog document. ListTagsOfResource sent after the tag removal and before the catalog delete answers 200 with Tags: []. Amazon DynamoDB returns the tags for the whole of its DELETING window (3 of 3, 2026-10-26, on the table ARN).
ExtendDB
PostgreSQL and SQLite delete the tag rows and the catalog row in one transaction, so the read returns the tags for the whole window. Cassandra with #598 removes the tags in the last statements of the delete, after the drops. MongoDB removes them after the collection drops and before the catalog delete (crates/storage-mongodb/src/table_engine.rs), so the read is empty for that stretch of the call. Measured by the #599 parity run with the document hand-set and by reading the delete's statement order.
Notes
Moving the tag delete_many to run with the catalog delete_one, or after it, closes the gap; the collection drops do not depend on it.
- 主要语言
- Rust
- 星标
- 517
- 派生
- 60
- 平均合并
- 2 天 23 小时
- 30 天内合并 PR
- 25
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ExtendDB/extenddb 的其他 Issue
-
backend:cassandra bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
backend:cassandra bug
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 2 天内回复
-
[storage.cassandra] accepts unknown keys silently可能已有人在做 @LeeroyHannigan 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
ExtendDB/extenddb#540 · 已指派 1 人 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
查看 ExtendDB/extenddb 的全部 Issue
相似的 Issue
-
area:io kernel-paused needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
bherbruck/solvecraft#7854 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
transit-audio/transit#159 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
HakanSeven12/OpenCADStudio#2257 · 1 条评论 ·
维护者通常 1 天内回复
-
priority: low ui
难度 2/5 1-3 小时 新手友好度 72/100
storytold/photocraft#9884 · 1 条评论 ·
维护者通常 1 天内回复
-
triage: new type: bug
难度 2/5 1-3 小时 新手友好度 67/100
Jagalite/superseedr#376 ·
维护者通常 1 天内回复