m-trieu commented on code in PR #31504:
URL: https://github.com/apache/beam/pull/31504#discussion_r1634150876
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/streaming/ComputationState.java:
##########
@@ -139,6 +140,10 @@ public void invalidateStuckCommits(Instant
stuckCommitDeadline) {
stuckCommitDeadline, this::completeWorkAndScheduleNextWorkForKey);
}
+ public ImmutableListMultimap<ShardedKey, Work> currentActiveWorkReadOnly() {
Review Comment:
we do fail it on the direct path code path in the case that the stream is
closed but we can expose a more closed interface (maybe Work.ReadOnly)
--
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]