Define portable resulting-document size semantics for partial update
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java
調査の方向性
まず PR #105 と portable な update() 契約を読み、続いて API/SPI Javadocs、capability declarations、互換性ドキュメント、および既存の Cosmos DB と DynamoDB の適合性テストを確認します。両方の provider について、provider に依存しないサイズのセマンティクス、コストと I/O の動作、正規化されたエラー、および境界ケースが一貫して文書化・テストされていれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Context
PR #105 adds portable shallow partial update through MulticloudDbClient.update(). The portable contract currently covers a resulting logical document only when both serialized JSON and portable structural footprint are at most 390 KiB.
The resulting size depends on existing stored state, while the operation intentionally performs one native write with no pre-read/read-merge. Native ceilings also differ: DynamoDB limits an item to 400 KiB, while Cosmos DB permits a larger item. The proposed provider-specific extended-size capability was removed during review because support by only one provider does not establish a useful portable contract.
Results above either portable bound are therefore outside the contract and may succeed or fail according to native provider limits. Native rejections remain normalized with stable reason and limit details.
Goal
Define a portable, cost-explicit contract for state-dependent partial-update result size across Cosmos DB and DynamoDB.
Design questions
- Can a common resulting-size limit be enforced without a pre-read?
- If a pre-read or stored size metadata is required, how are extra cost, latency, concurrency races, ETags, and retries handled?
- Should over-limit behavior reject before I/O, fail after one attempted write, or use another provider-neutral mechanism?
- Which serialized and structural measurements are normative for existing plus replacement fields?
Acceptance criteria
- Cosmos DB and DynamoDB produce the same documented outcome at, below, and above the portable resulting-document boundary.
- The design prevents silent provider divergence and does not introduce a single-provider capability.
- Error category, retryability, stable reason, measured size, and native limit details are normalized and tested.
- Conformance tests cover boundary and state-dependent over-limit cases for every participating provider.
- API/SPI Javadocs, capability declarations, compatibility documentation, and request/cost implications are aligned.
- The design explicitly states whether the operation retains one-write/no-read behavior.
Related: #105
- 主要言語
- Java
- スター
- 7
- フォーク
- 7
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/multiclouddb-sdk-for-java のほかの issue
-
Portable document key fields differ across Cosmos/Dynamo and read/query (id vs sortKey)対応中かも @allenkim0129 が 18 日前に担当しました。 オープン
microsoft/multiclouddb-sdk-for-java#121 · 担当者 1 名 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
-
documentation enhancement java
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
microsoft/multiclouddb-sdk-for-java の issue をすべて見る
似ている issue
-
dev/release: verify-release-candidate.sh runs 0 Java tests with Debian's Maven対応中かも @kou が今日担当しました。 オープンType: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/arrow-adbc#4947 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
lysine-dev/okhttp#9814 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
1.20.1-FORGE bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MehVahdJukaar/WoodGood#1348 ·
-
documentation faq
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100