Killing jobs or dead processes after a database crash on galaxy

@glam02 just a quick note (one of the gxadmin authors here), you’ll want to run:

gxadmin mutate fail-job <job_id>
gxadmin mutate fail-terminal-datasets

the first command just marks the job as failed, the second command finds all terminal jobs, and then marks their outputs as “failed”, which is what is shown to users, not the job’s ok/error status. I’ve been meaning to merge the second command into the first but have not done it yet I’m afraid.

2 Likes