After implementing a fix for models: incorrect run number assignment after many restarts we now have a limit to permit at most nine restarts of a workflow:
$ reana-client restart -w workflow
==> ERROR: Cannot start workflow workflow:
Cannot restart a workflow more than 9 times
This is due the way we currently store run_number value in the DB as a single float field. We should implement a different way to store this value in the DB which would solve this issue. One possible solution would be to store each run number as two integers and update the rest of the codebase accordingly.
After implementing a fix for models: incorrect run number assignment after many restarts we now have a limit to permit at most nine restarts of a workflow:
This is due the way we currently store
run_numbervalue in the DB as a single float field. We should implement a different way to store this value in the DB which would solve this issue. One possible solution would be to store each run number as two integers and update the rest of the codebase accordingly.