Skip to content

[Issue 1191] Handle free list for revivification in RMW for expiration/deletes #1189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

hamdaankhalid
Copy link
Contributor

@hamdaankhalid hamdaankhalid commented May 7, 2025

RMW does not allow for Free list Revivification when the code decides to either actively expire a key or delete (via expiration).

RMW can work off of the same semantics of when to perform elision of record from hybrid log as DELETE flow does. This PR refactors the code and moves logic into RMW as DELETE

New places of revivification:
When going via IPU and we find expired record we can tombstone and free list it.
When going via NCU we can potentially do complete elision, no new record, or do tombstone + old record elision.

@hamdaankhalid hamdaankhalid changed the title Handle free list revivification in RMW Handle free list revivification in RMW for expiration/deletes May 7, 2025
@hamdaankhalid hamdaankhalid changed the title Handle free list revivification in RMW for expiration/deletes [Issue 1191] Handle free list revivification in RMW for expiration/deletes May 7, 2025
@hamdaankhalid hamdaankhalid requested a review from TedHartMS May 9, 2025 20:14
@hamdaankhalid hamdaankhalid changed the title [Issue 1191] Handle free list revivification in RMW for expiration/deletes [Issue 1191] Handle free list for revivification in RMW for expiration/deletes May 9, 2025
@hamdaankhalid hamdaankhalid force-pushed the hamdaankhalid/raise-records-back-to-life-like-phoenix-from-the-ashes branch from e43cad9 to 130015c Compare May 10, 2025 19:05
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.

3 participants