mxtymoshyk commented on code in PR #40850: URL: https://github.com/apache/beam/pull/40850#discussion_r4548872886
########## runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/util/common/worker/WorkProgressUpdater.java: ########## Review Comment: Removed. I took your suggestion and made `worker` and the constructor parameters `@Nullable`, because the batch worker now builds the updater before the executor exists and passes null. Since `worker` is volatile, the checkpoint path reads it into a local before the null check. `dynamicSplitResultToReport` is `@Nullable` too. -- 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]
