-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
HDFS-17413. [FGL] CacheReplicationMonitor supports fine-grained lock #6641
Conversation
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Clear to me.
+1
TestLargeBlockReport tracking in https://issues.apache.org/jira/browse/HDFS-17437 |
Failed cases are unrelated. |
Thanks for contribution. Merged. |
Using FSLock to make cache-pool and cache-directive thread safe, since Clients will access or modify these information and these information has nothing to do with block.
Using BMLock to make cachedBlock thread safe, since the related logic will access block information and modify cache-related information of one DN.