Repository navigation
Core: Add AssertLastSequenceNumber in UpdateRequirements for addSnapshot - #15002
Closed
agnes-xinyi-lu wants to merge 3 commits into
Closed
agnes-xinyi-lu wants to merge 3 commits into
agnes-xinyi-lu wants to merge 3 commits into
Conversation
2 of 3 tasks
agnes-xinyi-lu
force-pushed
the
xinyilu/fix
branch
from
January 9, 2026 00:16
bf16553 to
9247d71
Compare
agnes-xinyi-lu
commented
Jan 9, 2026
…tion tests
The integration tests use the apache/iceberg-rest-fixture Docker image which
is pre-built and published to Docker Hub. When changes are made to the REST
API (e.g., adding new UpdateRequirement types), the tests fail because the
Docker image doesn't have the updated code.
This change builds the Docker image locally before running integration tests,
ensuring the tests always use the latest code from the PR.
agnes-xinyi-lu
force-pushed
the
xinyilu/fix
branch
from
January 9, 2026 07:11
9247d71 to
9b22a5c
Compare
Member
|
Can you link to the ML thread for the Spec Change? |
Contributor
Author
|
@RussellSpitzer Thanks for taking a look! I haven't started the thread for spec change yet, wanted to gather community experts' opinions on whether this is the right way to solve this problem #15001 before getting into the details of what this requirement looks like in the spec. I'll start a mail thread next week. |
|
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 [email protected] list. Thank you for your contributions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR aims to fix the concurrent commit race condition problem in Rest Catalog.
Details in issue #15001
Files Changed:
UpdateRequirement.java - Added new AssertLastSequenceNumber class:
UpdateRequirementParser.java - Added serialization/deserialization support:
UpdateRequirements.java - Integrated the new requirement:
TestRestCatalogConcurrentWrites.java - Added test to verify the fix: