You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Arpad Boda (Jira)" <ji...@apache.org> on 2020/09/15 13:05: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 ]

Arpad Boda updated MINIFICPP-1372:
----------------------------------
    Labels: selected-for-development  (was: )

> 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
>            Reporter: Adam Debreceni
>            Priority: Major
>              Labels: selected-for-development
>
> 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.3.4#803005)