Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
458c761b
Commit
458c761b
authored
Jan 20, 2015
by
Leo Gordon
Browse files
bugfix: record job_id, role_id and worker_id of the job that deadlocked when checking in
parent
a3645169
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
View file @
458c761b
...
...
@@ -301,7 +301,7 @@ sub check_in_job {
# This particular query is infamous for collisions and 'deadlock' situations; let's wait and retry:
$self
->
dbc
->
protected_prepare_execute
(
[
$sql
],
sub
{
my
(
$after
)
=
@_
;
$self
->
db
->
get_LogMessageAdaptor
->
store_
hive
_message
(
"
checking the job
#
$job_id
in
"
.
$after
,
0
);
}
sub
{
my
(
$after
)
=
@_
;
$self
->
db
->
get_LogMessageAdaptor
->
store_
job
_message
(
$job_id
,
"
checking the job in
"
.
$after
,
0
);
}
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment