[Server] Add the server-side primary-key table bulk-load protocol
メンテナーはふだん 2 日以内に返信
@Anurag15v がすでに取り組んでいます。
2026年10月4日 から。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java
調査の方向性
まず、内部の Coordinator RPC インターフェースと既存のトランザクションおよびリカバリの経路を特定します。target fencing、マニフェストの検証、レプリカの復元、failover と再起動の再調整、永続的な commit の処理を追跡します。完了の条件は、一覧にあるライフサイクル操作がテーブルまたはパーティションに対して、部分的な結果を公開することなく動作することです。
索引モデルが issue の本文から書いたものです。
説明
Search before asking
- I searched in the issues and found nothing similar.
Description
Add a complete server-side transaction protocol for atomically loading an empty
primary-key table or partition from externally built KV snapshots.
The server must own the transaction lifecycle, prevent access while the target
is being loaded, validate the submitted manifest, install every bucket, and
publish the target only after the complete result is ready.
The protocol should be usable through the internal Coordinator RPC interface.
A high-level client SDK is tracked separately.
Scope
- Add Begin, GetInProgress, Commit, and Abort RPCs.
- Support both a complete primary-key table and one physical partition as the
transaction target. - Reject non-primary-key and non-empty targets.
- Freeze the target identity, schema, bucket count, remote data directory, and
snapshot IDs when beginning a transaction. - Fence the target and prevent ordinary access until it becomes active again.
- Allow only one active bulk-load transaction for a target.
- Validate the manifest and require complete coverage of every target bucket.
- Persist the Commit decision before publishing the imported snapshots.
- Restore the imported snapshots on the assigned replicas.
- Publish the complete target atomically after all required replicas are ready.
- Abort transactions that have not crossed the durable Commit decision.
- Resume transactions after Coordinator failover.
- Reconcile TabletServer restart, leader change, and assignment change during
protocol execution. - Retain terminal results for recovery and remove expired transaction metadata.
- Protect active bulk-load files from orphan cleanup.
- Reject unsupported rolling-upgrade combinations through server capability
checks.
Willingness to contribute
- I'm willing to submit a PR!
- 主要言語
- Java
- スター
- 2.2k
- フォーク
- 663
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 118
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/fluss のほかの issue
-
[lake/iceberg] Reserved write-mode properties can be set and reset through their `iceberg.` key対応中かも @aphenix-r7 が 18 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/fluss#4658 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[common] Decimal#hashCode is inconsistent with Decimal#equals対応中かも @firasbouzazi が 29 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/fluss#4538 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[security] PlainSaslServerProvider conflicts with Hadoop SASL provider causing authentication failure対応中かも @xinzhang-hello が 35 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
[server] KV snapshot scheduling stops permanently after a transient snapshot-init failure対応中かも @zhang-arvin が 35 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
apache/fluss#4489 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[docs] Document advertised-resource and ACL principal ignore-case options対応中かも @EchoLee5 が 47 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Shweit/EtherealPortals#30 ·
-
Typo in jakartaee-bom 12.0.0-SNAPSHOT with cdi対応中かも @ElectLive が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
jakartaee/jakartaee-api#205 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
liberation-data/drivine4j#547 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
BindingServiceProperties.bindings regressed to a non-thread-safe TreeMap in GH-3158: concurrent first use of binding names corrupts it対応中かも @AkashB23 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
spring-cloud/spring-cloud-stream#3321 ·
メンテナーはふだん 1 日以内に返信