Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

A repeated type descriptor in an attribute value is accepted last-wins where the service refuses it

オープン
#630 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust, sqlite
領域
api, backend

調査の方向性

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ExtendDB/extenddb のほかの issue

ExtendDB/extenddb の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。