martinzink commented on code in PR #1616:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1616#discussion_r1275854796


##########
libminifi/src/core/ProcessSession.cpp:
##########
@@ -1147,4 +1147,8 @@ bool ProcessSession::existsFlowFileInRelationship(const 
Relationship &relationsh
   });
 }
 
+bool ProcessSession::hasBeenTransferred(const core::FlowFile &flow) const {
+  return updated_relationships_.contains(flow.getUUID()) || 
added_flowfiles_.contains(flow.getUUID());

Review Comment:
   Shouldnt we also check if the relationship at the flow uuid is not nullptr?



-- 
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