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/10 15:33:01 UTC

[jira] [Assigned] (NIFI-6924) If content is missing from ContentRepository but the Resource Claim exists, CountNotFoundException is not being thrown

     [ https://issues.apache.org/jira/browse/NIFI-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Payne reassigned NIFI-6924:
--------------------------------

    Assignee: Mark Payne

> 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
>            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)