Skip to content
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

Expose weak_tombstone/weak_remove #126

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

Conversation

skeet70
Copy link

@skeet70 skeet70 commented Jan 13, 2025

This naively exposes weak_tombstone/weak_remove from lsm-tree.

I tested locally with my project and saw that disk usage was no longer growing infinitely. I tried to write some tests for it, but I'm not sure how to force a flush and/or get information about tombstones out of the testable interfaces.

Benching it has the same write performance, but I'd assume the difference would be in other stages. The doc could be considered placeholder, they're paraphrasing the rockdb SingleDelete info, after looking at the CompactionStream in lsm-tree.

This exposes a fix for #115 via #56

Testing locally I'm not seeing the change in folder growth
for them (with temporary false), that I'm seeing in my
similar project.
src/partition/mod.rs Outdated Show resolved Hide resolved
I need to remember to run it before committing in this repo. Local `cargo clippy` has no errors, hoping CI clippy is also clear.
Must be stable vs the msrv toolchain I'm using locally
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.

2 participants