[
https://issues.apache.org/jira/browse/MINIFICPP-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Gerlits resolved MINIFICPP-1487.
---------------------------------------
Resolution: Fixed
> Better handling of a penalized-only input queue
> -----------------------------------------------
>
> Key: MINIFICPP-1487
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1487
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Ferenc Gerlits
> Assignee: Ferenc Gerlits
> Priority: Minor
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> If the input queue of an Event Driven processor (is not empty but) contains
> penalized flow files only, then the processor will be woken up repeatedly in
> a tight loop, but it will have nothing to do, as it is not able to pick up
> any flow files. This results in 100% CPU usage (of one core).
> One way to avoid this would be if all processors yielded when they have
> nothing to do. Some processors do this, but not all. It would be better to
> solve this problem on the framework level rather than hope that processors
> will work around it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)