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

Use MFiles in followers #934

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

Use MFiles in followers #934

wants to merge 2 commits into from

Conversation

spuun
Copy link
Member

@spuun spuun commented Feb 7, 2025

WHAT is this pull request doing?

This fixes #931

Followers will be using MFiles. It will keep track on last access time for a file and close it when it's been unused for at least 10 seconds (this can be discussed). Files are only closed when a new one is opened, meaning that a lot of files may stay open for a good period of time.

HOW can this pull request be tested?

Run specs (still passes). Should probably add specs to verify that files are closed and unmapped.

spuun added 2 commits February 7, 2025 13:39
Close and unmap files that haven't been accessed for a moment
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.

Follower slowing down cluster - switch to MFiles
1 participant