From 4cb596c279ef6e9820651b921b8d476fc40ce8f1 Mon Sep 17 00:00:00 2001 From: Dmitry Litvintsev Date: Mon, 9 Dec 2024 13:55:11 -0600 Subject: [PATCH] do not set state of files pinned indefinitely to SKIPPED --- .../services/bulk/activity/plugin/pin/PinManagerActivity.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/dcache-bulk/src/main/java/org/dcache/services/bulk/activity/plugin/pin/PinManagerActivity.java b/modules/dcache-bulk/src/main/java/org/dcache/services/bulk/activity/plugin/pin/PinManagerActivity.java index 02019cfd741..faeba844e85 100644 --- a/modules/dcache-bulk/src/main/java/org/dcache/services/bulk/activity/plugin/pin/PinManagerActivity.java +++ b/modules/dcache-bulk/src/main/java/org/dcache/services/bulk/activity/plugin/pin/PinManagerActivity.java @@ -111,9 +111,6 @@ public void handleCompletion(BulkRequestTarget target, Future future) { reply = getUninterruptibly(future); if (reply.getReturnCode() != 0) { target.setErrorObject(reply.getErrorObject()); - } else if (reply instanceof PinManagerPinMessage - && ((PinManagerPinMessage) reply).getLifetime() == -1L) { - target.setState(SKIPPED); } else { target.setState(State.COMPLETED); }