priyansndesai commented on code in PR #31420:
URL: https://github.com/apache/beam/pull/31420#discussion_r1617806531


##########
sdks/go/pkg/beam/core/runtime/exec/datasource.go:
##########
@@ -151,6 +159,7 @@ func (n *DataSource) process(ctx context.Context, data 
func(bcr *byteCountReader
                        // io.EOF means the reader successfully drained.
                        // We're ready for a new buffer.
                case <-ctx.Done():
+                       n.waitingForRunnerToSendData.Store(true)

Review Comment:
   I can add a comment on this. I thought you recommended me to add this given 
in the "finally" case



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

Reply via email to