You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2022/04/27 12:33: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 ]

Marton Szasz updated MINIFICPP-1372:
------------------------------------
    Fix Version/s: 0.12.0
                       (was: 0.11.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
>            Priority: Major
>              Labels: selected-for-development
>             Fix For: 0.12.0
>
>
> 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.7#820007)