ZanderXu commented on PR #4320: URL: https://github.com/apache/hadoop/pull/4320#issuecomment-1130159428
Thanks @Hexiaoqiao for your comment, and I have read [HADOOP-16028](https://issues.apache.org/jira/browse/HADOOP-16028) in detail. If we look at this function without context, it is indeed necessary to add the read lock. But if with the context, the read lock in this function is indeed redundant, and instead will cause this logic to look a little confusing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
