Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
ba833be5
Commit
ba833be5
authored
Aug 20, 2010
by
Leo Gordon
Browse files
typo fix
parent
d5f534d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/Bio/EnsEMBL/Hive/DBSQL/JobMessageAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/JobMessageAdaptor.pm
+1
-1
sql/tables.sql
sql/tables.sql
+2
-2
No files found.
modules/Bio/EnsEMBL/Hive/DBSQL/JobMessageAdaptor.pm
View file @
ba833be5
...
...
@@ -32,7 +32,7 @@ sub register_message {
# (the timestamp 'moment' column will be set automatically)
my
$sql
=
qq{
REPLACE INTO job_
error
(analysis_job_id, worker_id, retry_count, status, msg, is_error)
REPLACE INTO job_
message
(analysis_job_id, worker_id, retry_count, status, msg, is_error)
SELECT analysis_job_id, worker_id, retry_count, status, ?, ?
FROM analysis_job WHERE analysis_job_id=?
}
;
...
...
sql/tables.sql
View file @
ba833be5
...
...
@@ -155,7 +155,7 @@ CREATE TABLE analysis_job (
-- It may or may not indicate that the job was unsuccessful via is_error flag.
--
-- semantics:
-- analysis_job_id - the id of the job that
died
-- analysis_job_id - the id of the job that
threw the message
-- worker_id - the worker in charge of the job at the moment
-- moment - when the message was thrown
-- retry_count - of the job when the message was thrown
...
...
@@ -172,7 +172,7 @@ CREATE TABLE job_message (
msg
text
,
is_error
boolean
,
PRIMARY
KEY
(
analysis_job_id
,
worker_id
,
died
),
PRIMARY
KEY
(
analysis_job_id
,
worker_id
,
moment
),
INDEX
worker_id
(
worker_id
),
INDEX
analysis_job_id
(
analysis_job_id
)
)
ENGINE
=
InnoDB
;
...
...
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