Repository navigation
Conversation
|
Looking at this PR, I realize that there is the "same" function in https://github.com/DIRACGrid/DIRAC/blob/rel-v8r0/src/DIRAC/TransformationSystem/Client/RequestTasks.py#L366 which is certainly working fine (in the context of replication transformations, but still...). Can you compare the 2 and check their differences? |
|
Yes, this is a good confirmation of this PR. In the replication transformations the files are ONLY checked for tasks that were created and got the ExternalID: .Here, there should be the same logic: files are reserved while the jobs are not yet submitted, those should not be reset to UNUSED because it is just a slow job submission in an overloaded system. |
|
@arrabito and @zhangxiaomei can you evaluate this one? Is it by chance something that you hotfixed? |
|
Thanks @atsareg, the comparison with Two things before we merge:
Minor: the deletion leaves |
6528240 to
cab30b4
Compare
|
Deleting jobs in a non-final status - is there a use case for that for Transformation jobs ? This can be only done by hand, I think. If a Transformation is found to be wrongly defined, I can imagine that all of its jobs will be also deleted even in a non-final status. But the Transformation will be also deleted as well, so its file statuses are no relevant any more. Normally the Production jobs are not purged until the corresponding Transformation is stopped AFAIU. I have removed the redundant line |
The removed operation was reseting files to Unused for tasks that were created but job not yet submitted. As a result new jobs were created for the same files multiple files.
A fix was needed in the pre-commit configuration for the flynt part as by default it uses python3.14 version not compatible with 3.11. I think this should be harmless
BEGINRELEASENOTES
*Transformation
FIX: WorkflowTasks - do not reset files for not yet submitted jobs
ENDRELEASENOTES