[
https://issues.apache.org/jira/browse/NIFI-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15615092#comment-15615092
]
Joseph Gresock commented on NIFI-2920:
--------------------------------------
Initial testing shows that the NIFI-2925 patch does indeed resolve this
behavior. This is the first time in a while I've seen my disk usage drop down
drastically while still running (as opposed to only immediately following a
restart). I observed these log statements while NiFi was running:
nifi-app_2016-10-28_10.4.log.gz:2016-10-28 10:37:30,895 INFO [Cleanup Archive
for default] o.a.n.c.repository.FileSystemRepository Deleted 10 files from
archive for Container default; oldest Archive Date is now Fri Oct 28 09:32:47
UTC 2016; container cleanup took 2 millis
I'll continue to monitor the disk usage, but it's looking good.
> Swapped FlowFiles are not removed from content repo when a queue is emptied.
> ----------------------------------------------------------------------------
>
> Key: NIFI-2920
> URL: https://issues.apache.org/jira/browse/NIFI-2920
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.7.0, 0.6.1, 0.7.1
> Environment: Linux
> Reporter: Matthew Clarke
> Priority: Blocker
> Fix For: 0.8.0
>
> Attachments: NIFI-2920.patch
>
>
> If a queue contains enough FlowFiles to trigger swapping to occur and a user
> selects "empty queue" or sets file expiration, only the content claims
> associated to FlowFiles that were not swapped get removed from the content
> repository. All other content claims are left in the content repository and
> are not moved to archive and/or purged.
> A restart of NiFi will produce app log messages about these unknown files
> left in the content repo and will at that time move them to archive or purge
> them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)