Commit 458c761b authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: record job_id, role_id and worker_id of the job that deadlocked when checking in

parent a3645169
......@@ -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 ); }
);
}
......
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