From 96067af68d98708658801b8c769c6e3574f63d77 Mon Sep 17 00:00:00 2001 From: Benoit Moriceau Date: Thu, 24 Feb 2022 09:47:09 -0800 Subject: [PATCH] Add missing continue as new --- .../temporal/scheduling/ConnectionManagerWorkflowImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java b/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java index f631fd762c95..89786888ddb3 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/temporal/scheduling/ConnectionManagerWorkflowImpl.java @@ -177,11 +177,13 @@ private CancellationScope generateSyncWorkflowRunnable(ConnectionUpdaterInput co workflowInternalState.getJobId(), workflowInternalState.getAttemptId())); reportFailure(connectionUpdaterInput, standardSyncOutput); + prepareForNextRunAndContinueAsNew(connectionUpdaterInput); } else { workflowInternalState.getFailures().add( FailureHelper.unknownOriginFailure(childWorkflowFailure.getCause(), workflowInternalState.getJobId(), workflowInternalState.getAttemptId())); reportFailure(connectionUpdaterInput, standardSyncOutput); + prepareForNextRunAndContinueAsNew(connectionUpdaterInput); } } });