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

Define portable resulting-document size semantics for partial update

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

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

評価

難易度
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

環境構築

はじめの一歩

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

microsoft/multiclouddb-sdk-for-java のほかの issue

microsoft/multiclouddb-sdk-for-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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