reuvenlax commented on code in PR #41806:
URL: https://github.com/apache/beam/pull/41806#discussion_r4764515337


##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/SimpleParDoFnHelpers.java:
##########
@@ -162,58 +180,24 @@ void startBundle(Receiver... receivers) throws Exception {
   void reallyStartBundle() throws Exception {
     checkState(fnRunner == null, "bundle already started (or not properly 
finished)");
 
+    @Nullable Receiver mainReceiver =
+        receivers != null && mainReceiverIndex >= 0 && mainReceiverIndex < 
receivers.length

Review Comment:
   done



##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/SimpleParDoFnHelpers.java:
##########
@@ -244,14 +228,157 @@ void finishBundle(StreamingSideInputProcessor<?, ?> 
sideInputProcessor) throws E
       fnRunner = null;
       activeFnInfo = null;
       fnSignature = null;
+      hasState = false;
       sideInputProcessor = null;

Review Comment:
   done



##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/SimpleParDoFn.java:
##########


Review Comment:
   done



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