From 108e9e2e6a77163c8ac2bed3fdc7ab29501a0693 Mon Sep 17 00:00:00 2001 From: ndr_brt Date: Mon, 28 Aug 2023 14:00:23 +0200 Subject: [PATCH] Break lease on iteration --- .../connector/transfer/process/TransferProcessManagerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/control-plane/transfer-core/src/main/java/org/eclipse/edc/connector/transfer/process/TransferProcessManagerImpl.java b/core/control-plane/transfer-core/src/main/java/org/eclipse/edc/connector/transfer/process/TransferProcessManagerImpl.java index 12c36802323..b8dbabe252a 100644 --- a/core/control-plane/transfer-core/src/main/java/org/eclipse/edc/connector/transfer/process/TransferProcessManagerImpl.java +++ b/core/control-plane/transfer-core/src/main/java/org/eclipse/edc/connector/transfer/process/TransferProcessManagerImpl.java @@ -430,6 +430,7 @@ private Boolean checkCompletion(TransferProcess transferProcess) { var checker = statusCheckerRegistry.resolve(transferProcess.getDataDestination().getType()); if (checker == null) { monitor.warning(format("No checker found for process %s. The process will not advance to the COMPLETED state.", transferProcess.getId())); + breakLease(transferProcess); return false; } else { var resources = transferProcess.getProvisionedResources();