Skip to content

[core] Skip deleted rows in Data Evolution visibility waits - #11523

Open
JustinBinber wants to merge 2 commits into
apache:masterfrom
JustinBinber:codex/de-visibility-live-row-index
Open

JustinBinber wants to merge 2 commits into
apache:masterfrom
JustinBinber:codex/de-visibility-live-row-index

Conversation

@JustinBinber

Copy link
Copy Markdown
Contributor

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 8b641ae1f3 reproduced 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.

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.

[Bug] Data Evolution visibility callback waits for indexes on deleted rows

1 participant