Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

2 participants