Adam Debreceni created MINIFICPP-1372:
-----------------------------------------

             Summary: 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


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)

Reply via email to