From b67dbcc3a2700c08dbbd1c62c842aa71595b03ee Mon Sep 17 00:00:00 2001
From: Leo Gordon <lg4@ebi.ac.uk>
Date: Fri, 16 Nov 2012 15:03:19 +0000
Subject: [PATCH] bugfix: no longer leaves CLAIMED jobs after compilation error
 during specific -job_id execution

---
 modules/Bio/EnsEMBL/Hive/Queen.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/Bio/EnsEMBL/Hive/Queen.pm b/modules/Bio/EnsEMBL/Hive/Queen.pm
index 53718f303..ff377dff5 100644
--- a/modules/Bio/EnsEMBL/Hive/Queen.pm
+++ b/modules/Bio/EnsEMBL/Hive/Queen.pm
@@ -321,6 +321,7 @@ sub register_worker_death {
             or $cod eq 'MEMLIMIT'
             or $cod eq 'RUNLIMIT'
             or $cod eq 'KILLED_BY_USER'
+            or $cod eq 'SEE_MSG'
             or $cod eq 'CONTAMINATED') {
                 $self->db->get_AnalysisJobAdaptor->release_undone_jobs_from_worker($worker);
         }
-- 
GitLab