ZanderXu commented on code in PR #6572: URL: https://github.com/apache/hadoop/pull/6572#discussion_r1503958822
########## hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/fgl/MeasurableReentrantReadWriteLock.java: ########## Review Comment: Yes, this class is used to tracking performance for locking. This class is cloned from the original FSNamesystemLock.class, and just modifies some logic related to lock name and some comments. So that the GlobalLock and FGL can use this class to trace performance with different lock name. GlobalFSNamesystemLock is using this class to trace performance right now. -- 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]
