mirror of https://github.com/apache/nifi.git
NIFI-4322: If there is a failure checkpointing FlowFile Repository, ensure that we continue trying
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #2146.
This commit is contained in:
parent
b452f8c251
commit
0e50279467
|
@ -425,8 +425,8 @@ public class WriteAheadFlowFileRepository implements FlowFileRepository, SyncLis
|
|||
final long millis = TimeUnit.MILLISECONDS.convert(end - start, TimeUnit.NANOSECONDS);
|
||||
logger.info("Successfully checkpointed FlowFile Repository with {} records in {} milliseconds",
|
||||
new Object[]{numRecordsCheckpointed, millis});
|
||||
} catch (final IOException e) {
|
||||
logger.error("Unable to checkpoint FlowFile Repository due to " + e.toString(), e);
|
||||
} catch (final Throwable t) {
|
||||
logger.error("Unable to checkpoint FlowFile Repository due to " + t.toString(), t);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue