Skip to content

Commit

Permalink
cont
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Feb 6, 2024
1 parent dd469d1 commit 4864ff3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DIRAC/DataManagementSystem/Client/FTS3Job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]
Expand Down

0 comments on commit 4864ff3

Please sign in to comment.