Adam Debreceni created MINIFICPP-1363:
-----------------------------------------

             Summary: ResourceClaims might get removed even if somebody 
references them
                 Key: MINIFICPP-1363
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1363
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Adam Debreceni
            Assignee: Adam Debreceni


We need to reset the count_map_ in the content_repo as otherwise we would have 
to distinguish between a fresh restart and a reload and we cannot do that based 
on the ResourceClaim::getStreamCount. 

The processors might immediately start executing event before the 
thread_pool_.start() in the FlowController::start(). (FlowController::load 
starts the thread_pool_) Thus we have to reset the contentRepo before the 
scheduling happens, otherwise we might discard live claims.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to