From 569857677f498cf34165d74aa85aa635fcbdbb02 Mon Sep 17 00:00:00 2001 From: Joao Afonso <joao.afonso@cern.ch> Date: Mon, 11 Apr 2022 10:47:29 +0200 Subject: [PATCH] Fix: Maintenance process should notify EOS when it cannot requeue a request --- objectstore/RetrieveRequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objectstore/RetrieveRequest.cpp b/objectstore/RetrieveRequest.cpp index 33aa64157d..d91040f261 100644 --- a/objectstore/RetrieveRequest.cpp +++ b/objectstore/RetrieveRequest.cpp @@ -161,7 +161,7 @@ queueForFailure:; // If there is no candidate, we fail the jobs that are not yet, and queue the request as failed (on any VID). for (auto & j: *m_payload.mutable_jobs()) { if (j.status() == RetrieveJobStatus::RJS_ToTransfer) { - j.set_status(RetrieveJobStatus::RJS_Failed); + j.set_status(RetrieveJobStatus::RJS_ToReportToUserForFailure); log::ScopedParamContainer params(lc); params.add("fileId", m_payload.archivefile().archivefileid()) .add("copyNb", j.copynb()); -- GitLab