Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generalize insert-backedges to insert in any world #48785

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Feb 25, 2023

Rather than a binary valid/not-valid, we track the exact later world that deleted it, relative to when we first assumed it may be valid. Previously we could only sensibly insert into the latest world, which could be a bit more difficult to model if the world had subsequently increased. Presently that is mostly relevant because we set min_world early, then change max_world to activate it. If we did the opposite (start with min_world==max_world==typemax, then decrease min_world to activate it), it might be less notable of a change. A small future change to this could be to compute both updated min and max together. However, this also now more clearly demonstrates how to do forward edge tracking and re-validation as well, which I think will be useful to have as an example.

Rather than a binary valid/not-valid, we track the exact later world
that deleted it, relative to when we first assumed it may be valid.
@vtjnash vtjnash merged commit 4c32381 into master Mar 1, 2023
@vtjnash vtjnash deleted the jn/late-edges branch March 1, 2023 21:17
@vtjnash vtjnash added the backport 1.9 Change should be backported to release-1.9 label Mar 6, 2023
KristofferC pushed a commit that referenced this pull request Mar 7, 2023
Rather than a binary valid/not-valid, we track the exact later world
that deleted it, relative to when we first assumed it may be valid.

(cherry picked from commit 4c32381)
@KristofferC KristofferC mentioned this pull request Mar 7, 2023
52 tasks
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants