You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2018/04/19 07:30:00 UTC

[jira] [Updated] (NIFI-5092) S2S Bulletin Reporting Task will not send recent bulletins after a restart

     [ https://issues.apache.org/jira/browse/NIFI-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard updated NIFI-5092:
---------------------------------
    Status: Patch Available  (was: Open)

> S2S Bulletin Reporting Task will not send recent bulletins after a restart
> --------------------------------------------------------------------------
>
>                 Key: NIFI-5092
>                 URL: https://issues.apache.org/jira/browse/NIFI-5092
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.6.0, 1.5.0, 1.4.0, 1.3.0, 1.2.0
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>
> Bulletins are stored in memory by NiFi on a 5-minutes rolling window. Each bulletin has a bulletin ID and it starts with the value 0. Upon NiFi restarts, the new generated bulletins will also have an ID starting with the value 0.
> Currently the reporting task is locally storing the ID of the last bulletin sent through S2S. But this should not be the case because if the last bulletin ID is X when NiFi is restarted, then all new generated bulletins with ID <= X will be ignored.
> The state management of this reporting task should be completely removed. Starting/stopping the reporting task won't be impacting the behavior since the ID of the last bulletin sent is stored in local variable.
> *Current workaround* - after a NiFi restart, stop the reporting task, clear the state of the reporting task and start the reporting task.



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