scwhittle commented on code in PR #30270:
URL: https://github.com/apache/beam/pull/30270#discussion_r1485927093


##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/DataflowExecutionContext.java:
##########
@@ -361,7 +387,9 @@ private void recordActiveMessageInProcessingTimesMap() {
             if (v == null) {
               v = new IntSummaryStatistics();
             }
-            v.accept((int) (System.currentTimeMillis() - 
this.activeMessageMetadata.startTime()));
+            synchronized (this) {

Review Comment:
   Ping on this, I agree with Arun should already be handled by enclosed 
synchronized block



-- 
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]

Reply via email to