From 4864ff3ed730d5acc6f5737e8e7b65f2c24979a7 Mon Sep 17 00:00:00 2001 From: Christophe Haen Date: Tue, 6 Feb 2024 09:26:39 +0100 Subject: [PATCH] cont --- src/DIRAC/DataManagementSystem/Client/FTS3Job.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DIRAC/DataManagementSystem/Client/FTS3Job.py b/src/DIRAC/DataManagementSystem/Client/FTS3Job.py index ab1f6cc56a0..41e4dfa7126 100644 --- a/src/DIRAC/DataManagementSystem/Client/FTS3Job.py +++ b/src/DIRAC/DataManagementSystem/Client/FTS3Job.py @@ -30,6 +30,7 @@ class FTS3Job(JSerializable): to an FTS3Operation """ + # alter table Jobs CHANGE `status` `status` enum('Submitted','Ready','Active','Finished','Canceled','Failed','Finisheddirty','Staging','Archiving', 'Token_prep') DEFAULT 'Submitted', # START states # States from FTS doc https://fts3-docs.web.cern.ch/fts3-docs/docs/state_machine.html @@ -43,6 +44,7 @@ class FTS3Job(JSerializable): "Finisheddirty", # Some files Failed "Staging", # One of the files within a job went to Staging state "Archiving", # From FTS: one of the files within a job went to Archiving state + "Token_prep", # From FTS: When using token, used before Submitted until FTS fetched a refresh token ] FINAL_STATES = ["Canceled", "Failed", "Finished", "Finisheddirty"]