You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2019/12/03 15:18:00 UTC
[jira] [Created] (NIFI-6924) If content is missing from
ContentRepository but the Resource Claim exists, CountNotFoundException is
not being thrown
Mark Payne created NIFI-6924:
--------------------------------
Summary: If content is missing from ContentRepository but the Resource Claim exists, CountNotFoundException is not being thrown
Key: NIFI-6924
URL: https://issues.apache.org/jira/browse/NIFI-6924
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Reporter: Mark Payne
When the `read(ContentClaim)` method of FileSystemRepository is called, it ensures that the File exists on disks. It then skips to the appropriate offset. However, if the Resource Claim does not contain enough content, an EOFException is thrown instead of a ContentNotFoundException.
As a result, the FlowFile is not cleaned up from the system but instead is rolled back into its original FlowFile Queue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)