You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modifies the handling of the Overwrite operation to respect
`read_version` when `num_retries` is set to 0 (strict Overwrite).
A strict Overwrite fails if new commits have been written after
`read_version`.
This allows users to more easily build custom transaction and retry
logic if needed.
The first commit refactors only for code deduplication with no
behavioral changes.
The remainder makes two behavioral changes:
1. Each commit will be tried at least once (previously, commits would
always fail when `num_retries` is set to 0)
2. If the operation is Overwrite and `num_retries` is 0, the commit will
be attempted based on `read_version` instead of attempting to check out
the latest version of the dataset.
returnErr(Error::Internal{message:"more than 2^65 versions have been created and so regular version numbers are appearing as 'detached' versions.".into(),location:location!()});
763
-
}
764
-
765
-
// If any of them conflict with the transaction, return an error
returnErr(Error::Internal{message:"more than 2^65 versions have been created and so regular version numbers are appearing as 'detached' versions.".into(),location:location!()});
779
+
}
775
780
// Build an up-to-date manifest from the transaction and current manifest
776
781
let(mut manifest,mut indices) = match transaction.operation{
0 commit comments