acrites commented on code in PR #29963:
URL: https://github.com/apache/beam/pull/29963#discussion_r1456474606
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorker.java:
##########
@@ -946,6 +953,10 @@ private void process(
final Windmill.WorkItem workItem = work.getWorkItem();
final String computationId = computationState.getComputationId();
final ByteString key = workItem.getKey();
+ if (work.isFailed()) {
+ LOG.debug("Not processing failed work for {}:\n{}", computationId, work);
+ return;
Review Comment:
Done. Moved this into the try/catch block where processing happens.
--
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]