Skip to content

Commit

Permalink
0002301: If an incoming batch is marked as IG when it is loading and …
Browse files Browse the repository at this point in the history
…the batch fails, then the IG status is lost
  • Loading branch information
chenson42 committed May 18, 2015
1 parent 971550b commit 1f1d333
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -915,6 +915,12 @@ public void batchInError(DataContext context, Throwable ex) {
*/
throw ex;
}

/*
* Reread batch to make sure it wasn't set to IG or OK
*/
currentBatch = engine.getIncomingBatchService().findIncomingBatch(currentBatch.getBatchId(), currentBatch.getNodeId());

Batch batch = context.getBatch();
if (context.getWriter() != null
&& context.getReader().getStatistics().get(batch) != null
Expand Down

0 comments on commit 1f1d333

Please sign in to comment.