You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2015/08/17 06:19:45 UTC
[jira] [Commented] (NIFI-841) If a Processor calls session.append
and the content repository runs out of disk space, session could finish
commit anyway
[ https://issues.apache.org/jira/browse/NIFI-841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698996#comment-14698996 ]
Joseph Witt commented on NIFI-841:
----------------------------------
+1. But please use the patch i added as it resolves issues with the patch itself due to directory changes, formatting problems, and checkstyle issues (possibly introduced after fixing the strange tabs/spaces).
> If a Processor calls session.append and the content repository runs out of disk space, session could finish commit anyway
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-841
> URL: https://issues.apache.org/jira/browse/NIFI-841
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Critical
> Fix For: 0.3.0
>
> Attachments: 0001-NIFI-841-Ensure-that-IOExceptions-on-session-commit-.patch, NIFI-841.patch
>
>
> The StandardProcessSession keeps track of FlowFiles that are being append'ed to. On session.commit, it attempts to flush the Output Stream's that are being appended to. However, if it throws IOException here, the Exception is swallowed, and could result in only part of the FlowFile's content being written to the Content Repository.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)