You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2023/03/31 10:16:00 UTC
[jira] [Updated] (MINIFICPP-1372) Add batch cleanup for ContentRepository
[ https://issues.apache.org/jira/browse/MINIFICPP-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gábor Gyimesi updated MINIFICPP-1372:
-------------------------------------
Fix Version/s: (was: 0.14.0)
> Add batch cleanup for ContentRepository
> ---------------------------------------
>
> Key: MINIFICPP-1372
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1372
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Affects Versions: 0.9.0, 0.7.0
> Reporter: Adam Debreceni
> Assignee: Adam Debreceni
> Priority: Major
> Labels: selected-for-development
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently all content is removed one-by-one whenever the refCount in the ContentReposiroty::count_map_ goes to 0. For the rocksdb backed DatabaseContentRepository this results in an unnecessary cost we could elide if we batch-remove these resources. We could create a background gc thread like in FlowFileRepository to handle the actual removal.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)