Repository navigation
[core] Skip deleted rows in Data Evolution visibility waits - #11523
Open
JustinBinber wants to merge 2 commits into
Open
JustinBinber wants to merge 2 commits into
JustinBinber wants to merge 2 commits into
Conversation
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.
Purpose
Fixes #11519.
For Data Evolution, a visibility wait now checks whether uncovered RowIDs are still live in the snapshot. Fully covered ranges use index metadata alone. For other ranges, the checker limits the scan to the affected partitions and RowIDs, uses file metadata when there are no deletion vectors, and reads only RowID where necessary. Read failures keep the check pending. A rollback can invalidate a cached check, and compaction plus index visibility must agree in one snapshot.
Tests
The focused Core reactor verifies deletion-vector filtering, partial-column updates, independent snapshot replacement, read failures, retries, and ordinary append and primary-key controls. A tests-only run against upstream
8b641ae1f3reproduced five regressions, including the original timeout. The patched Core reactor passed all 15 cases with a local Windows URI adapter for the test fixture. The adapter was restored before commit.