datalake_fdw: merge-on-read and DML
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Start with parent issue #2008 and the prerequisite work C and D, then trace WrapPositionDeleteFilter on the hidden row-ordinal column and C's writer. Done means cross-system deletes are visible, UPDATE/DELETE counts and rollback behavior are correct, concurrent commits do not lose updates, and scans remain within the tracked memory budget.
索引モデルが issue の本文から書いたものです。
説明
Part of #2008. Letters (A, B0–B7, C, D, E) are the PRs listed there; this is E.
Scope
- Merge-on-read:
WrapPositionDeleteFilterimplemented on the hidden row-ordinal column; position deletes applied while scanning, equality deletes after. DELETEandUPDATE: rows identified by (file, position) through the scan, written as position delete files;UPDATEis delete plus insert through C's writer; one snapshot per statement.- A commit that loses the race is retried or fails with a serialization error, never silently dropped.
VACUUMstays the current no-op; compaction and snapshot expiry are a follow-up issue.
Out of scope
Copy-on-write, partition evolution, branches and tags (#1683 §2.3).
Depends on
C, D.
Acceptance
- Deletes made in Cloudberry are seen by Spark and the reverse.
UPDATE/DELETEcounts match; a rolled-back statement changes nothing visible.- Two concurrent transactions on one table: one commits, the other fails or retries; no lost update.
- A scan over many small delete files stays within the tracked memory budget.
- 主要言語
- C
- スター
- 1.4k
- フォーク
- 248
- 平均マージ
- 4日 10時間
- マージ済み PR(30日)
- 40
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/cloudberry のほかの issue
-
type: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
apache/cloudberry#1885 · リアクション 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
apache/cloudberry#1825 ·
-
type: Bug
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
apache/cloudberry#2048 · リアクション 1 件 ·
-
type: Bug
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
apache/cloudberry#2047 ·
-
type: Bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
apache/cloudberry#2046 · コメント 1 件 ·
apache/cloudberry の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
bradcypert/plum#53 ·
-
Component: GLib
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Status: Opened
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nextbsd/nextbsd-userland#285 ·