Repository navigation
fix(core-sync): the downgrade mirror keeps an unsettled waiting value out of its marks and held by id - #4814
Merged
Conversation
… out of its marks and held by id
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.
Summary
Follow-up to #4812, from its second Codex round.
cloudkit/legacy/export.rs: a personal approval row a build before 0114 left, which the pass could not settle yet (the store refused the write or cannot read the copy), keeps its value out of the mirror's dirty marks and goes to the previous stable as a change held by id. Before this, the mirror marked the store's old value dirty against the pulled base, so the previous stable after a downgrade could send it over the newer value.Test plan
cloudkit legacy::mirror::rows_an_earlier_build_left_that_cannot_land_yet_go_to_the_previous_stable_as_held_changes: fails with the mask removed (the record is marked dirty), passes here.cargo nextest run -p tablepro-sync: 1224 passed.cargo clippy -p tablepro-sync --all-targets -- -D warningsclean,cargo fmt --all -- --checkclean.