[ 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.16.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 > Fix For: 0.16.0 > > Time Spent: 2h 40m > 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)