Skip to content

fix(transaction): preserve commit invariants across retries - #3075

Closed
aarushigupta132 wants to merge 2 commits into
apache:mainfrom
aarushigupta132:ag/transaction-commit-invariants
Closed

aarushigupta132 wants to merge 2 commits into
apache:mainfrom
aarushigupta132:ag/transaction-commit-invariants

Conversation

@aarushigupta132

@aarushigupta132 aarushigupta132 commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Prerequisite for the focused UpdateSchema series split from #3069.

What changes are included in this PR?

  • Keeps only the first transaction requirement for each protected metadata value, so later actions do not replace requirements derived from the transaction base.
  • Adds a base-table UUID requirement to every non-empty catalog commit and rejects retry rebases when an identifier resolves to a recreated table.
  • Avoids rebuilding metadata or issuing a catalog update when actions produce no updates.

This is independently mergeable and adds no sorting or partition-evolution API.

Are these changes tested?

Yes. Focused transaction tests cover requirement scoping, table recreation both during retry and at the catalog-update boundary, no-op suppression, retry behavior, and encrypted-table commits. Formatting and all-feature library Clippy pass.

@aarushigupta132
aarushigupta132 force-pushed the ag/transaction-commit-invariants branch from fd148fb to 3af92cf Compare August 26, 2026 13:47
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions Bot added the stale label Sep 27, 2026
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant