[ 
https://issues.apache.org/jira/browse/NIFI-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15422643#comment-15422643
 ] 

ASF subversion and git services commented on NIFI-2376:
-------------------------------------------------------

Commit 7c718310085bb960918536f57ab25b54c8ce0bc0 in nifi's branch refs/heads/0.x 
from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=7c71831 ]

NIFI-2376: Ensure that we don't decrement claimant count more than once when 
append() throws an Exception
NIFI-2397 merging patch for NIFI-2376 into 0.x branch

This closes #844.


> 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: Joseph Witt
>            Priority: Blocker
>              Labels: releasenotes
>             Fix For: 1.0.0, 1.0.0-Beta
>
>
> 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)

Reply via email to