Skip to content

SS-148 Iceberg sink, don't attempt commit unless it's definitely not a duplicate - #38441

Draft
ublubu wants to merge 6 commits into
MaterializeInc:mainfrom
ublubu:iceberg-retry
Draft

SS-148 Iceberg sink, don't attempt commit unless it's definitely not a duplicate#38441
ublubu wants to merge 6 commits into
MaterializeInc:mainfrom
ublubu:iceberg-retry

Conversation

@ublubu

@ublubu ublubu commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

replaces #38333

We rely on MaterializeInc/iceberg-rust#7 making the Transaction commit internals public.

Then we reimplement Transaction commit, but without the built-in rebase+retry.

Previously, iceberg-rust loaded the table from the Catalog on every commit attempt, applying the transaction's actions on top of the latest state of the table.

With this PR, Mz loads the table from the Catalog on every commit attempt, but it does not apply the transaction's action on top of the latest state of the table until after it inspects the table state (for funny business like a previously successful attempt or another writer taking over).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant