[
https://issues.apache.org/jira/browse/NIFI-14125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17909257#comment-17909257
]
Peter Kimberley commented on NIFI-14125:
----------------------------------------
Some additional info about the environment:
# NiFi is running on Kubernetes (RKE2), deployed using a Helm chart that I
maintain: [https://github.com/gradata-systems/nifi-helm-chart]
# As mentioned in the issue, the node reconnection does not occur when using
Zookeeper clustering and state (even when deployed on Kubernetes).
> Clearing state with Kubernetes state provider causes cluster nodes to
> reconnect
> -------------------------------------------------------------------------------
>
> Key: NIFI-14125
> URL: https://issues.apache.org/jira/browse/NIFI-14125
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 2.1.0
> Environment: Kubernetes
> Reporter: Peter Kimberley
> Priority: Major
> Attachments: image-2025-01-01-19-35-01-388.png
>
>
> When using the Kubernetes state provider implementation, clearing a
> component's state via the UI results in the following error to be logged by
> NiFi:
> {{2025-01-01 19:10:30,773 WARN [Replicate Request Thread-260]
> o.a.n.c.c.node.NodeClusterCoordinator The following nodes failed to process
> URI
> /nifi-api/processors/1b5f4233-0194-1000-0000-00003610e403/state/clear-requests
> '[test-nifi-2.test-nifi.nifi:8443, test-nifi-1.test-nifi.nifi:8443]'.
> Requesting each node reconnect to cluster.}}
> Following this, the coordinating node is re-elected and all nodes reconnect,
> as indicated by error bulletins in the UI:
> !image-2025-01-01-19-35-01-388.png!
> This issue is not present when using the Zookeeper state provider.
> Inspecting the browser's API request to the _clear-requests_ endpoint, the
> request is reported as a success (status code 200).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)