adamdebreceni commented on a change in pull request #807:
URL: https://github.com/apache/nifi-minifi-cpp/pull/807#discussion_r454833537
##########
File path: libminifi/src/core/ProcessSession.cpp
##########
@@ -248,35 +237,27 @@ void ProcessSession::penalize(const
std::shared_ptr<core::FlowFile> &flow) {
void ProcessSession::transfer(const std::shared_ptr<core::FlowFile> &flow,
Relationship relationship) {
logging::LOG_INFO(logger_) << "Transferring " << flow->getUUIDStr() << "
from " << process_context_->getProcessorNode()->getName() << " to relationship
" << relationship.getName();
_transferRelationship[flow->getUUIDStr()] = relationship;
+ flow->setDeleted(false);
Review comment:
during `commit` and `rollback` we check if the items in
`_deletedFlowFiles` indeed stayed deleted, or a transfer or add marked them for
"resurrection"
##########
File path: libminifi/src/core/ProcessSession.cpp
##########
@@ -248,35 +237,27 @@ void ProcessSession::penalize(const
std::shared_ptr<core::FlowFile> &flow) {
void ProcessSession::transfer(const std::shared_ptr<core::FlowFile> &flow,
Relationship relationship) {
logging::LOG_INFO(logger_) << "Transferring " << flow->getUUIDStr() << "
from " << process_context_->getProcessorNode()->getName() << " to relationship
" << relationship.getName();
_transferRelationship[flow->getUUIDStr()] = relationship;
+ flow->setDeleted(false);
Review comment:
during `commit` and `rollback` we check if the items in
`_deletedFlowFiles` stayed deleted, or a transfer or add marked them for
"resurrection"
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]