You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The workflow runs will have the following run numbers:
workflow.1 (initial run)
workflow.1.1 (first restart)
workflow.1.2 (second restart)
...
workflow.1.9 (ninth restart)
workflow.2 (tenth restart)
However, the tenth restart should be workflow.1.10.
At this point, it is also not possible to create a new workflow (reana-client create ...) with the same name. The workflow creation will fail given that workflow.2 is already being used:
How to reproduce:
workflow.1
(initial run)workflow.1.1
(first restart)workflow.1.2
(second restart)workflow.1.9
(ninth restart)workflow.2
(tenth restart)However, the tenth restart should be
workflow.1.10
.At this point, it is also not possible to create a new workflow (
reana-client create ...
) with the same name. The workflow creation will fail given thatworkflow.2
is already being used:The cause of the issue is that run numbers are stored as floats and the new run numbers are generated in this way:
reana-db/reana_db/models.py
Line 566 in dd1b60e
One possible solution would be to store each run number as two integers and update the rest of the codebase accordingly.
The text was updated successfully, but these errors were encountered: