A repeated type descriptor in an attribute value is accepted last-wins where the service refuses it
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by tracing how item-carrying requests parse the raw body into serde_json::Value, and inspect the existing duplicate check for TransactWriteItems members. Compare that path with AttributeValue deserialization to find where repeated keys are lost. Done means duplicate type descriptors and item attribute names are rejected with the service’s 400 SerializationException response across the listed operations, including nested values.
由索引模型根据 Issue 内容生成。
描述
An attribute value object that names the same type descriptor twice, for example {"S": "a", "S": "b"}, at the top level of a value or inside an L or an M, is refused by the service with 400 SerializationException and the message Duplicate key found in payload. Measured on 2026-10-28 in us-east-1 on PutItem, UpdateItem, TransactWriteItems and BatchWriteItem, two repetitions each; the same answer in every cell.
ExtendDB at abf8082f answers 200 on all four operations and stores the last value (b), top-level and nested (SQLite server, two repetitions). The bytes a client sent have one reading on the service (refused) and another in ExtendDB (the last descriptor wins), and a request that the service would never have stored is written.
Where: the request body is parsed into serde_json::Value before the AttributeValue deserializer runs, and serde_json's map collapses a repeated key. Refusing the repeated key needs either the raw-body duplicate check that TransactWriteItems already applies to its own members, or a Value parse with duplicate detection, applied to every item-carrying request. A repeated attribute name at the item level ({"a": ..., "a": ...}) is the same class and the same message on the service.
- 主要语言
- Rust
- 星标
- 517
- 派生
- 60
- 平均合并
- 4 天 22 小时
- 30 天内合并 PR
- 40
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ExtendDB/extenddb 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 4 天内回复
-
Launch-prep: scope statement + backend tiers + version policy可能已有人在做 @navareamol 今天认领。 未关闭
难度 2/5 3-5 天 新手友好度 65/100
ExtendDB/extenddb#662 · 已指派 1 人 ·
维护者通常 4 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 84/100
ExtendDB/extenddb#658 · 1 条评论 ·
维护者通常 4 天内回复
-
backend:postgresql bug
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 4 天内回复
查看 ExtendDB/extenddb 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
Y-ASLant/ElegantClipboard#178 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
linxiv-dev/linXiv#384 · 1 条评论 ·
维护者通常 1 天内回复
-
bug drawings ui
难度 2/5 1-3 小时 新手友好度 82/100
userFRM/egui-charts#1595 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
smoltcp-rs/smoltcp#1235 ·
维护者通常 1 天内回复
-
scope:core type:security
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复