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日 23時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ExtendDB/extenddb のほかの issue
-
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 日以内に返信
-
[storage.cassandra] accepts unknown keys silently対応中かも @LeeroyHannigan が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ExtendDB/extenddb#540 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
ExtendDB/extenddb の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
area/desktop-shell P1-high
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
yantrikos/yantrik-os#998 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
warpdotdev/warp#16662 ·
メンテナーはふだん 1 日以内に返信
-
bug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
kanidm/kanidm#4655 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信