markap14 commented on a change in pull request #5634:
URL: https://github.com/apache/nifi/pull/5634#discussion_r781334027



##########
File path: 
nifi-stateless/nifi-stateless-bundle/nifi-stateless-engine/src/main/java/org/apache/nifi/stateless/session/AsynchronousCommitTracker.java
##########
@@ -89,7 +117,7 @@ public boolean isReady(final Connectable connectable) {
             return false;
         }
 
-        if (isDataQueued(connectable)) {
+        if (isDataQueued(connectable) || (connectable.isTriggerWhenEmpty() && 
isDataHeld(connectable))) {
             logger.debug("{} {} is ready because it has data queued", this, 
connectable);
             return true;
         }

Review comment:
       Yeah good call. If we run into issues that may be helpful. Will update 
that.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to