Give parallel descriptor scans disjoint slot ranges #112
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!112
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-112"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TaynanGT on GitHub · 2026-11-27 01:35 UTC · original
TaynanGT:fix/disjoint-descriptor-scan-ranges→main· +95 −7 · 1 files · 1 commits · merged 2026-11-27 02:28 UTCFixes #106.
The renderer port can send the same descriptor slot to two scan workers when a marked run overlaps a write-watch fallback page. Both workers can update the same copy of the record, even though the comparison routines require exclusive ownership of each slot. Original review
Keep the marked runs intact and check only complete unmarked slots on each fallback page. This keeps a marked scan independent of a failed read elsewhere on its fallback page. The fallback still reports changes in slots that had no mark.
The two regression tests cover an overlapping run, a gap between marks, multiple fallback pages, and a marked record that straddles a page boundary. Both passed in the default and diagnostics suites, together with Clippy. Windows CI
The fallback's page counter still reports the pages selected by write watch. The broader heap-sync log counts each scanned fallback fragment when a marked run divides a page.