Repository navigation
Adjust points selection for deferred points update - #8279
Merged
Merged
Conversation
agourlay
force-pushed
the
update-delete-points-logic-on-deferred
branch
4 times, most recently
from
March 3, 2026 15:34
1a834cf to
e0fd273
Compare
agourlay
marked this pull request as ready for review
March 3, 2026 15:36
agourlay
force-pushed
the
update-delete-points-logic-on-deferred
branch
from
March 4, 2026 09:34
333ab97 to
3793695
Compare
IvanPleshkov
requested changes
Mar 4, 2026
timvisee
reviewed
Mar 4, 2026
timvisee
reviewed
Mar 5, 2026
Member
Author
|
I believe I applied all comments, including:
|
IvanPleshkov
approved these changes
Mar 5, 2026
timvisee
approved these changes
Mar 5, 2026
agourlay
force-pushed
the
update-delete-points-logic-on-deferred
branch
from
March 5, 2026 19:29
d34db75 to
26fdc91
Compare
JojiiOfficial
approved these changes
Mar 6, 2026
IvanPleshkov
force-pushed
the
update-delete-points-logic-on-deferred
branch
from
March 8, 2026 17:00
26fdc91 to
77d4091
Compare
timvisee
approved these changes
Mar 9, 2026
2 tasks done
generall
pushed a commit
that referenced
this pull request
Mar 26, 2026
* Adjust points selection for deferred points update * adjust proxy segment implementation * clean * simplify * use simpler proxy impl * cleanup * stick to Entry API * renaming to stay closer to the original * renaming to stay closer to the original * nits * two passes and simpler impl. * fmt * fmt --------- Co-authored-by: Ivan Pleshkov <[email protected]>
KShivendu
pushed a commit
that referenced
this pull request
Mar 30, 2026
* Adjust points selection for deferred points update * adjust proxy segment implementation * clean * simplify * use simpler proxy impl * cleanup * stick to Entry API * renaming to stay closer to the original * renaming to stay closer to the original * nits * two passes and simpler impl. * fmt * fmt --------- Co-authored-by: Ivan Pleshkov <[email protected]>
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 handles deferred points in
find_points_to_update_and_delete.Previously, the deduplication logic did not distinguish between deferred and non-deferred points which could cause possible data loss/inconsistencies later.
The new rules for handling a given point are:
Changes
point_is_deferredtoNonAppendableSegmentEntrytrait and implement forProxySegmentfind_points_to_update_and_deletewith new aforementioned rules.Tests
Mostly AI generated.
test_find_points_to_update_and_delete: baseline without deferred pointstest_find_points_to_update_and_delete_with_deferred: deferred loses to newer non-deferredtest_find_points_to_update_and_delete_with_deferred_only: deferred-only point with no non-deferred copytest_find_points_to_update_and_delete_with_deferred_winning: deferred wins when strictly newer than non-deferredFuture work
Handle copy on write on update operation (#8290)