Peter Kimberley created NIFI-14125:
--------------------------------------
Summary: 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
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)