Repository navigation
feat(table): predecessor-conditioned publication for external manifest stores - #8800
Merged
Xuanwo merged 3 commits intoSep 2, 2026
Conversation
wkalt
force-pushed
the
ticket/ent-1961/predecessor-conditioned-publication
branch
from
August 26, 2026 18:31
76891f9 to
2d6f91f
Compare
wkalt
force-pushed
the
ticket/ent-1961/predecessor-conditioned-publication
branch
from
August 26, 2026 19:06
2d6f91f to
673de02
Compare
wkalt
force-pushed
the
ticket/ent-1961/predecessor-conditioned-publication
branch
from
August 26, 2026 19:35
673de02 to
2fdd8f3
Compare
…t stores Conflict detection only sees versions newer than a handle's, so a dataset dropped and recreated at the same path accepts a stale writer's commit, and no check made before the commit can prevent it. The store that reserves versions has to decide. `ExternalManifestStore::put_if_predecessor` reserves a version only if the store's record for the predecessor still carries the identity the writer observed; `CommitHandler::commit_after` publishes on that condition and refuses with `PrerequisiteFailed`. The manifest is written once, at a staging path that listing never discovers, and the reservation records it as final: such a store is the dataset's history (`list_versions` backs the conflict scan and cleanup, and cleanup retires each record it removes through `forget_version`), and the canonical path a recreated dataset would share is never written. A write cancelled before its reservation leaves an orphan, as a retained staging manifest does today. No built-in store implements the contract; nothing changes for unconditioned commits. Co-Authored-By: Claude Fable 5 <[email protected]>
wkalt
force-pushed
the
ticket/ent-1961/predecessor-conditioned-publication
branch
from
August 26, 2026 20:14
2fdd8f3 to
893f0c1
Compare
Contributor
There was a problem hiding this comment.
✅ Gate recommendation: approve.
The latest base merge leaves the predecessor-conditioned publication patch unchanged and does not overlap its commit, external-store, or cleanup paths. Reservation, committed-history discovery, identity-aware retirement, branch retention, and retry behavior retain the previously verified contract.
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.
Conflict detection only sees versions newer than a handle's, so a dataset
dropped and recreated at the same path accepts a stale writer's commit,
and no check made before the commit can prevent it. The store that
reserves versions has to decide.
ExternalManifestStore::put_if_predecessorreserves a version only if thestore's record for the predecessor still carries the identity the writer
observed;
CommitHandler::commit_afterpublishes on that condition andrefuses with
PrerequisiteFailed. The manifest is written once, at astaging path that listing never discovers, and the reservation records it
as final: such a store is the dataset's history (
list_versionsbacks theconflict scan and cleanup, and cleanup retires each record it removes
through
forget_version), and the canonical path a recreated datasetwould share is never written. A write cancelled before its reservation
leaves an orphan, as a retained staging manifest does today. No built-in
store implements the contract; nothing changes for unconditioned commits.