Skip to content

Fix: Rehash slot_lookup_ tombstones to stop ghost entries under churn#769

Open
desertfury wants to merge 2 commits into
unum-cloud:mainfrom
desertfury:feat/ghost_repro
Open

Fix: Rehash slot_lookup_ tombstones to stop ghost entries under churn#769
desertfury wants to merge 2 commits into
unum-cloud:mainfrom
desertfury:feat/ghost_repro

Conversation

@desertfury
Copy link
Copy Markdown
Contributor

Problem

b779c47 (#753) bounded the saturated probe but left tombstones unreclaimed, turning the CPU-spin hang into silent ghost keys.

Fix

Track tombstones and rehash to reclaim them before saturation, so live keys stay findable under churn.

Tests

cpp/ghost_repro.cpp now asserts zero ghosts; previously it leaked 1616 at a tight reserve.

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.

1 participant