Joseph Witt created NIFI-2384:
---------------------------------
Summary: Back-pressure should use cycle detection to avoid dead
lock conditions
Key: NIFI-2384
URL: https://issues.apache.org/jira/browse/NIFI-2384
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Affects Versions: 1.0.0
Reporter: Joseph Witt
If you have a cycle with back pressure being fed by a source with back pressure
and the source of data is fast enough you can end up in a dead lock situation.
We should have cycle detection occur and then in the presence of a cycle which
has backpressure on the source edge (back pressure on source edge and back
pressure on all edges in the cycle) then we should ignore the backpressure on
the destination edge and pull data from the back pressured cycle source edge.
Attached is a template which can replicate this condition. Look on the bottom
left cycle.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)