Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
ensembl-hive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Jira
Jira
Merge Requests
7
Merge Requests
7
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
e8cd200c
Commit
e8cd200c
authored
Nov 10, 2020
by
Matthieu Muffato
Committed by
ens-bwalts
Nov 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't bother with the key if the job is standalone
parent
55d287cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm
modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm
+2
-3
No files found.
modules/Bio/EnsEMBL/Hive/RunnableDB/DatabaseDumper.pm
View file @
e8cd200c
...
...
@@ -255,8 +255,7 @@ sub fetch_input {
}
else
{
$self
->
complete_early
("
Skipping the dump because this database has been restored from the target dump. We don't want to overwrite it
");
}
}
elsif
(
$self
->
param
('
nb_ehive_tables
'))
{
# OK, we can dump and this is an eHive database.
}
elsif
(
$self
->
param
('
nb_ehive_tables
')
and
!
$self
->
worker
->
adaptor
)
{
# We add the signature to the dump, so that the
# job won't rerun on a restored database
# We're very lucky that gzipped streams can be concatenated and the
...
...
@@ -265,7 +264,7 @@ sub fetch_input {
$extra_sql
=~
s/>/>>/
;
$self
->
param
('
cmd
',
"
$cmd
;
$extra_sql
");
}
else
{
#
Direct dump on a non-eHive database
#
No signature to add (non-eHive database or standalone job)
$self
->
param
('
cmd
',
$cmd
);
}
}
...
...
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