[ 
https://issues.apache.org/jira/browse/MINIFICPP-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16874134#comment-16874134
 ] 

Daniel Bakai commented on MINIFICPP-937:
----------------------------------------

[~phrocker] I haven't done it yet (and didn't fully debugged it, so I don't 
know a quick fix for it), thank you for fixing it if you can find the time.

> TailFile in Single file mode does not work after restoring from state
> ---------------------------------------------------------------------
>
>                 Key: MINIFICPP-937
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-937
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Daniel Bakai
>            Assignee: Mr TheSegfault
>            Priority: Blocker
>             Fix For: 0.7.0
>
>         Attachments: config.yml
>
>
> To reproduce:
>  * Create a TailFile - LogAttribute pipeline
>  * Let it tail a few lines from the file
>  * Restart minifi
>  * TailFile will stop functioning (does not produce any FlowFiles even though 
> there are lines added to the tailed file)
> I think this might be related to the latest rewrite adding multiple modes and 
> changing the state file format and parsing.
> There is also a
> {{[2019-06-27 11:30:05.523] [org::apache::nifi::minifi::processors::TailFile] 
> [error] store state file failed}}
> line in the log which indicates that the TailFile::storeState is sometimes 
> called when state_file_ is empty (I have added extra logging to onTrigger, 
> and the state_file_ variable is filled properly, so I don't know where is it 
> exactly coming from).
> I have also attached my config.yml: [^config.yml]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to