-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-16783. Remove the redundant lock in deepCopyReplica and getFinalizedBlocks #4942
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
Conversation
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
@Hexiaoqiao @MingXiangLi Sir, can you help me reivew this PR? |
LGTM |
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.
LGTM, +1.
Committed to trunk. Thanks @ZanderXu for your contribution and thanks @MingXiangLi for your reviews. |
…izedBlocks (apache#4942). Contributed by ZanderXu. Reviewed-by: Mingxiang Li <liaiphag0@gmail.com> Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
…izedBlocks (apache#4942). Contributed by ZanderXu. Reviewed-by: Mingxiang Li <liaiphag0@gmail.com> Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
Description of PR
When patching the fine-grained locking of datanode, found there is a redundant lock in deepCopyReplica and getFinalizedBlocks, maybe we can remove it.