[
https://issues.apache.org/jira/browse/MINIFICPP-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Gerlits resolved MINIFICPP-1313.
---------------------------------------
Resolution: Fixed
> TailFile does not do a lookup during the first onTrigger if minifi is started
> right after a reboot
> --------------------------------------------------------------------------------------------------
>
> Key: MINIFICPP-1313
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1313
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Ferenc Gerlits
> Assignee: Ferenc Gerlits
> Priority: Minor
> Fix For: 0.9.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The {{last_multifile_lookup_}} field in {{TailFile}} is initialized to zero,
> which in most cases means "when the box was rebooted". The next listing of
> the input directory will happen {{lookup_frequency_}} later, which may be
> later than the first run of {{onTrigger()}}.
> For example, if
> * minifi starts 1 minute after bootup, and
> * the TailFile processor is configured in Multifile mode, and
> * Lookup Frequency is set to 10 minutes (which is the default)
> then TailFile will not do anything during the first 9 minutes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)