Skip to content

SS-148 make Transaction::commit internals public so Mz can bypass the built-in retry - #7

Merged
ublubu merged 1 commit into
mz_v0.10.xfrom
kynan/pub-commit
Sep 2, 2026
Merged

ublubu merged 1 commit into
mz_v0.10.xfrom
kynan/pub-commit

Conversation

@ublubu

@ublubu ublubu commented Aug 24, 2026

Copy link
Copy Markdown

This should go on mz_v0.10.x

@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown

SS-148

@ublubu
ublubu changed the base branch from mz_v0.9.0 to mz_v0.10.x September 2, 2026 18:06
@ublubu
ublubu marked this pull request as ready for review September 2, 2026 18:06
@ublubu
ublubu merged commit 5c5c189 into mz_v0.10.x Sep 2, 2026
19 checks passed
@ublubu
ublubu deleted the kynan/pub-commit branch September 2, 2026 19:09
ublubu added a commit to MaterializeInc/materialize that referenced this pull request Sep 15, 2026
…a duplicate (#38441)

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