Skip to content

Commit

Permalink
0005690: Pulling corrupted batch gets null pointer in loop
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Feb 15, 2023
1 parent e04560a commit e6967df
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -271,7 +271,7 @@ public void checkMissingAck(List<BatchAck> acks, String queue) {
nodeId = batch.getNodeId();
}
}
if (hasCorruptBatch) {
if (hasCorruptBatch && parameterService.is(ParameterConstants.STREAM_TO_FILE_ENABLED)) {
OutgoingBatches batches = engine.getOutgoingBatchService().getOutgoingBatches(nodeId, queue, false);
if (batches.containsBatches()) {
Map<Long, OutgoingBatch> batchMap = new HashMap<Long, OutgoingBatch>();
Expand Down

0 comments on commit e6967df

Please sign in to comment.