parveensania commented on code in PR #38249:
URL: https://github.com/apache/beam/pull/38249#discussion_r3121410031
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/streaming/harness/FanOutStreamingEngineWorkerHarness.java:
##########
@@ -288,11 +296,17 @@ private synchronized void
consumeWindmillWorkerEndpoints(WindmillEndpoints newWi
}
}
- LOG.debug(
- "Consuming new endpoints: {}. previous metadata version: {}, current
metadata version: {}",
+ WindmillEndpoints.Type previousType;
+ synchronized (metadataLock) {
Review Comment:
synchronization on metadataLock no longer needed
--
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]