bhattmanish98 commented on code in PR #7061:
URL: https://github.com/apache/hadoop/pull/7061#discussion_r1776415026
##########
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:
The check is already included within the synchronization block, which is why
I didn't add it here again.
synchronized (this) {
if (isMetricCollectionStopped.get()) {
resumeTimer();
}
}
--
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]