saikatroy038 commented on code in PR #7061:
URL: https://github.com/apache/hadoop/pull/7061#discussion_r1776428028
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClient.java:
##########
@@ -1418,7 +1419,7 @@ private TracingContext getMetricTracingContext() {
boolean timerOrchestrator(TimerFunctionality timerFunctionality, TimerTask
timerTask) {
switch (timerFunctionality) {
case RESUME:
- if (isMetricCollectionStopped.get()) {
+ if (isMetricCollectionEnabled) {
Review Comment:
@bhattmanish98 The double-check on isMetricCollectionStopped.get() is to
avoid unnecessary synchronization and improve performance
--
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]