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

increase inode reuse delay from 1 day to 30 days #492

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

Conversation

joelnn
Copy link
Contributor

@joelnn joelnn commented Oct 17, 2016

Increase inode reuse delay from 1 day to 30 days. This makes it much harder to run into inode reuse issues, as I did in my cluster.

@psarna
Copy link
Member

psarna commented Oct 18, 2016

It also potentially increases memory usage of your master server. What kind of inode reuse issues did you encounter? Maybe the problem is somewhere else, not precisely in master and inode management.

@psarna
Copy link
Member

psarna commented Oct 18, 2016

And the most important detail: which release caused the problem?

@joelnn
Copy link
Contributor Author

joelnn commented Oct 18, 2016

This patch was initially applied to 2.5.4 a couple years ago when we switched from MooseFS. I believe the issue was as follows:

A directory is unlinked, but still open. After a day, the master reuses the inode, and the mount which still has the old directory open tries to access this inode which was reused too soon.

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.

None yet

2 participants