acrites commented on code in PR #29963:
URL: https://github.com/apache/beam/pull/29963#discussion_r1456453522
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/state/WindmillStateReader.java:
##########
@@ -404,6 +414,9 @@ public void performReads() {
private KeyedGetDataResponse tryGetDataFromWindmill(HashSet<StateTag<?>>
stateTags)
throws Exception {
+ if (workItemIsFailed.get()) {
+ throw new RuntimeException("Windmill failed work item.");
Review Comment:
Good call!
--
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]