m-trieu commented on code in PR #32774: URL: https://github.com/apache/beam/pull/32774#discussion_r1801541496
########## runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/AbstractWindmillStream.java: ########## @@ -278,24 +347,73 @@ public String backendWorkerToken() { } @Override - public void shutdown() { + public final void shutdown() { Review Comment: we do not want to synchronize on this since there are other stream operations that will block shutdown in that case (which we do not want) we want it to act like a signal maybe we can synchronize on isShutdown for start and shutdown methods -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org