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

Joe Witt updated NIFI-16665:
----------------------------
    Status: Patch Available  (was: Open)

> Cluster Coordinator disconnects nodes whose Revision Update Count is briefly 
> ahead of the coordinator's during a flow update
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-16665
>                 URL: https://issues.apache.org/jira/browse/NIFI-16665
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Joe Witt
>            Assignee: Joe Witt
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> NodeClusterCoordinator.validateHeartbeat (added in NIFI-8204) asks a node to 
> reconnect when its heartbeat Revision Update Count is greater than the 
> coordinator's. The coordinator only increments its count after its own update 
> task returns, so a node that finishes an update and sends its next heartbeat 
> first is wrongly reconnected. This was seen in OffloadIT on macOS and 
> LoadBalanceIT on Ubuntu. Related: NIFI-13885 and NIFI-15839.
> The change tracks revision updates that are in progress and skips the check 
> while one is. It then requires the node to be ahead on two consecutive checks 
> before requesting a reconnect.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to