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 13:53:00 UTC
[jira] [Resolved] (MINIFICPP-1363) ResourceClaims might get removed
even if somebody references them
[ https://issues.apache.org/jira/browse/MINIFICPP-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Debreceni resolved MINIFICPP-1363.
---------------------------------------
Resolution: Fixed
> 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
> Priority: Blocker
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)