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

Fix blocking evictions when flash is enabled #823

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gloomy-7164
Copy link

In current setup, with flash enabled, each eviction evicts 5% of memory in a blocking and no-bail-out way. For large datasets the eviction will saturate the main thread for seconds and the server is unavailable for both reads and writes.

In my understanding, eviction works very similar with or without flash enabled, since eviction doesn't require any flash db deletions, only in memory data free-up. Therefore it should be fine to evict data just like pure in-memory mode.

#814

@gloomy-7164 gloomy-7164 marked this pull request as draft April 17, 2024 06:51
@gloomy-7164 gloomy-7164 marked this pull request as ready for review April 17, 2024 06:51
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