youngoli commented on a change in pull request #12350:
URL: https://github.com/apache/beam/pull/12350#discussion_r463905457



##########
File path: sdks/go/pkg/beam/core/runtime/exec/datasource.go
##########
@@ -47,20 +47,21 @@ type DataSource struct {
        splitIdx  int64
        start     time.Time
 
-       // rt is non-nil if this DataSource feeds directly to a splittable unit,
-       // and receives the current restriction tracker being processed.
-       rt chan sdf.RTracker
+       // su is non-nil if this DataSource feeds directly to a splittable unit,
+       // and receives that splittable unit when it is available for splitting.
+       su chan SplittableUnit

Review comment:
       Improved this documentation for now, but this is part of concurrency 
code I might be refactoring to avoid all the blocking, so it might just be gone 
with the next commit I send.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to