y1chi commented on a change in pull request #13702:
URL: https://github.com/apache/beam/pull/13702#discussion_r555381212
##########
File path:
runners/core-java/src/main/java/org/apache/beam/runners/core/metrics/ExecutionStateTracker.java
##########
@@ -44,6 +44,9 @@
private static final Map<Thread, ExecutionStateTracker> CURRENT_TRACKERS =
new ConcurrentHashMap<>();
+ private static final Map<Long, ExecutionStateTracker>
CURRENT_TRACKERS_FOR_THREAD_ID =
Review comment:
Looks like there's no particular reason the CURRENT_TRACKER cannot be
keyed by thread id so I've combined the two.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]