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); } } });