A repeated type descriptor in an attribute value is accepted last-wins where the service refuses it
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 54/100
調査の方向性
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時間
- マージ済み PR(30日)
- 40
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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時間 初心者へのやさしさ 62/100
calcit-lang/caps#16 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
penso/herdr-gpui#934 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Y-ASLant/ElegantClipboard#178 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
linxiv-dev/linXiv#384 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority middle
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
KATO-Hiro/AtCoderClans#12945 ·
メンテナーはふだん 1 日以内に返信