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

Adding defrag wrappers #154

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

Adding defrag wrappers #154

wants to merge 2 commits into from

Conversation

zackcam
Copy link
Contributor

@zackcam zackcam commented Dec 13, 2024

Adding Defrag wrapper

This PR adds wrapper functions for defrag related functions

This is tested by setting specifc configuration to make defrag threshold lower. After these config changes we then create 1000 items which can be defragged. During this time there should be some defragging happening so we then assert we get either hits or misses and that defrag shows it is running for at least some time. Finally we then check that all the items we added are still accessible without crashing and have the correct return value

@dmitrypol
Copy link
Collaborator

@zackcam - do you still need this PR?

@zackcam
Copy link
Contributor Author

zackcam commented Feb 13, 2025

Yes, I will work on adding tests to this hopefully soon.

@zackcam zackcam changed the title Making inital commit for adding defrag wrappers Adding defrag wrappers Feb 24, 2025
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