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 subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/27 14:23:00 UTC

[jira] [Commented] (NIFI-6150) Content Repo not getting cleaned up

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

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

Commit d3d43262db7fc5558a3a8a9c70926501ddb93e53 in nifi's branch refs/heads/master from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d3d4326 ]

NIFI-6150: Moved logic of decrementing content claims from ProcessSession.commit to the FlowFile Repository. Also updated load-balancing protocol and queue drop logic to no longer decrement content claims since the flowfile repo will handle the logic. This allows us ts to ensure that the claimant counts are decremented only if the repo is successfully updated and still before checking if the claim is still in use or not.

This closes #3391.

Signed-off-by: Bryan Bende <bb...@apache.org>


> Content Repo not getting cleaned up
> -----------------------------------
>
>                 Key: NIFI-6150
>                 URL: https://issues.apache.org/jira/browse/NIFI-6150
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.9.1
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Blocker
>             Fix For: 1.10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> In version 1.9.1, we made a fix for NIFI-6110 that prevented a Content Claim's count from being decremented if the FlowFile Repository fails to update. This was done to avoid a potential data loss bug. However, it had an adverse effect of causing Content Claims to never be cleaned up in some cases, which can lead to the Content Repository filling up and running out of disk space.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)