lordgamez commented on a change in pull request #1052: URL: https://github.com/apache/nifi-minifi-cpp/pull/1052#discussion_r618334483
########## File path: extensions/standard-processors/processors/TailFile.cpp ########## @@ -653,29 +690,56 @@ void TailFile::onTrigger(const std::shared_ptr<core::ProcessContext> &, const st if (!session->existsFlowFileInRelationship(Success)) { yield(); } + + first_trigger_ = false; +} + +bool TailFile::isOldFileInitiallyRead(TailState &state) const { + // This is our initial processing and no stored state was found + return first_trigger_ && state.checksum_ == 0; Review comment: Updated in 342614294774fec1e5983e70064a7b49c66dba1b -- 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: us...@infra.apache.org