Skip to content

models: allow more than nine restarts #186

@audrium

Description

@audrium

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions