Skip to content

Commit

Permalink
0003094: Status of batches set to resend when error on channel
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed May 5, 2017
1 parent 859d5e1 commit 5c87941
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -986,8 +986,8 @@ protected IDataWriter chooseDataWriter(Batch batch) {
}
resource.setState(State.DONE);
}
} else {
log.info("The batch {} was missing in staging. Setting status to resend", batch.getNodeBatchId());
} else if (resource == null || !resource.exists()) {
log.info("The batch {} was missing in staging. Setting status to resend.", batch.getNodeBatchId());
incomingBatch = new IncomingBatch(batch);
incomingBatch.setStatus(Status.RS);
incomingBatchService.updateIncomingBatch(incomingBatch);
Expand Down

0 comments on commit 5c87941

Please sign in to comment.