Commit 704ea8cc authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: avoid specializing in an otherwise BLOCKED analysis that is...

bugfix: avoid specializing in an otherwise BLOCKED analysis that is temporarily in SYNCHING state (thanks to Kathryn for reporting)
parent 96b3c6cd
...@@ -849,7 +849,7 @@ sub suggest_analysis_to_specialize_by_rc_id_meadow_type { ...@@ -849,7 +849,7 @@ sub suggest_analysis_to_specialize_by_rc_id_meadow_type {
#synchronize and double check that it can be run: #synchronize and double check that it can be run:
$self->safe_synchronize_AnalysisStats($stats); $self->safe_synchronize_AnalysisStats($stats);
return $stats if( ($stats->status ne 'BLOCKED') and ($stats->num_required_workers > 0) ); return $stats if( ($stats->status ne 'BLOCKED') and ($stats->status ne 'SYNCHING') and ($stats->num_required_workers > 0) );
} }
return undef; return undef;
......
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