tomscut commented on a change in pull request #3613:
URL: https://github.com/apache/hadoop/pull/3613#discussion_r742610791
##########
File path:
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcClient.java
##########
@@ -134,6 +136,7 @@
/** Fairness manager to control handlers assigned per NS. */
private RouterRpcFairnessPolicyController routerRpcFairnessPolicyController;
+ private Map<String, AtomicLong> rejectedPermitsPerNs = new
ConcurrentHashMap<>();
Review comment:
For better performance, can we replace AtomicLong with LongAdder. Just a
suggestion.
--
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]