Commit a952291f authored by Daniele Venzano's avatar Daniele Venzano

Restart zapps stuck in starting status at master bootstrap

parent 65be3d33
......@@ -51,6 +51,11 @@ def restart_resubmit_scheduler():
for e in clean_up_execs:
config.scheduler.terminate(e)
starting_execs = config.singletons['sql_manager'].execution_list(status=Execution.STARTING_STATUS)
for e in starting_execs:
config.scheduler.terminate(e)
config.scheduler.incoming(e)
def execution_delete(execution: Execution):
assert isinstance(config.scheduler, ZoeScheduler)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment