[
https://issues.apache.org/jira/browse/NIFI-14795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-14795.
-----------------------------------
Fix Version/s: 2.6.0
Resolution: Fixed
> Decommission of a node stuck waiting for state change
> -----------------------------------------------------
>
> Key: NIFI-14795
> URL: https://issues.apache.org/jira/browse/NIFI-14795
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.5.0
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Major
> Fix For: 2.6.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In NIFI-14758 we introduced `fetchConnectionStatus` for use from the
> `cluster-status` command, but we also switched the internal calls in the
> decommission task to use this new method, instead of getConnectionStatus.
> This has caused an issue where a node can get stuck during decommission
> waiting to see a specific state from `fetchConnectionStatus` that it never
> sees. We should switch these calls back to `getConnectionStatus` which uses
> the current node's local view of the node's state.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)