[
https://issues.apache.org/jira/browse/NIFI-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne updated NIFI-6924:
-----------------------------
Summary: If content is missing from ContentRepository but the Resource
Claim exists, ContentNotFoundException is not being thrown (was: If content is
missing from ContentRepository but the Resource Claim exists,
CountNotFoundException is not being thrown)
> If content is missing from ContentRepository but the Resource Claim exists,
> ContentNotFoundException 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
> Assignee: Mark Payne
> Priority: Major
>
> 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)