You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/23 19:27:20 UTC
[jira] [Commented] (NIFI-2376) Content could be prematurely
archived/removed if a call to append() throws an Exception
[ https://issues.apache.org/jira/browse/NIFI-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15390821#comment-15390821 ]
ASF GitHub Bot commented on NIFI-2376:
--------------------------------------
GitHub user markap14 opened a pull request:
https://github.com/apache/nifi/pull/713
NIFI-2376: Ensure that we don't decrement claimant count more than once…
… when append() throws an Exception
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markap14/nifi NIFI-2376
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/713.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #713
----
commit 456bac5c1598671d1494f50f9fb12414c9b3a8a1
Author: Mark Payne <ma...@hotmail.com>
Date: 2016-07-23T19:05:20Z
NIFI-2376: Ensure that we don't decrement claimant count more than once when append() throws an Exception
----
> Content could be prematurely archived/removed if a call to append() throws an Exception
> ---------------------------------------------------------------------------------------
>
> Key: NIFI-2376
> URL: https://issues.apache.org/jira/browse/NIFI-2376
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Blocker
> Fix For: 1.0.0, 0.8.0
>
>
> If ProcessSession.append() is called multiple times for a FlowFile and in one of the calls other than the first call, an Exception is thrown, the claimant count is decremented more than once. This can result in the content being deleted or archived too soon. Consequently, this could also result in a NullPointerException being thrown when attempting to write to the FlowFile.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)