You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Adam Debreceni (Jira)" <ji...@apache.org> on 2020/09/10 09:34:00 UTC
[jira] [Created] (MINIFICPP-1363) ResourceClaims might get removed
even if somebody references them
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)