UpdateTable accepts a redefined table key type and a duplicated AttributeDefinitions entry
维护者通常 2 天内回复
评估
这个 Issue 还没有评估数据。
描述
Summary
Two AttributeDefinitions shapes on UpdateTable with a GSI Create answer differently from the service (measured 2026-10-25).
AttributeDefinitions beside a valid Create |
Service | ExtendDB main 744ea291 |
|---|---|---|
the table's own hash key pk redefined as N (table has pk: S) plus the index key |
200; the table keeps pk: S and gains the index key's definition only |
200; what the catalog stores for pk afterwards is unmeasured |
the index key defined twice (h, h) |
400 ValidationException Attribute Name is duplicated: h |
200 |
Fix shape
Refuse a duplicated name with the measured sentence (check whether CreateTable has the same rule on the service; it was not measured here). For the redefinition, measure what ExtendDB stores on each backend; if the stored type changes, keep the table's existing definition as the service does. One wire row per shape, dual-target.
Found while reviewing #520.
- 主要语言
- Rust
- 星标
- 517
- 派生
- 60
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 25
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ExtendDB/extenddb 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
backend:mongodb bug
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 2 天内回复
-
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 天内回复
查看 ExtendDB/extenddb 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
FalkorDB/FalkorDB#3597 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
needs triage
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 72/100
mozilla-services/syncstorage-rs#2715 ·
维护者通常 1 天内回复