m-trieu commented on code in PR #31317: URL: https://github.com/apache/beam/pull/31317#discussion_r1610491863
########## runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/streaming/ExecutionState.java: ########## @@ -35,8 +42,13 @@ public abstract class ExecutionState { public abstract ExecutionStateTracker executionStateTracker(); - public static ExecutionState.Builder builder() { - return new AutoValue_ExecutionState.Builder(); + public final void close() { Review Comment: done added with a comment that says only close on error. since we do not want to close the execution state if it is to be reused. -- 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