Mark Payne created NIFI-9548:
--------------------------------
Summary: When user disables transmission of Remote Group, web
request may block indefinitely
Key: NIFI-9548
URL: https://issues.apache.org/jira/browse/NIFI-9548
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Reporter: Mark Payne
Assignee: Mark Payne
When a user right-clicks on an RPG and clicks Disable Transmission, NiFi waits
until all threads have stopped before the web thread returns. This can cause
requests to timeout and result in cluster instability. Instead, we should avoid
waiting for the threads to complete in the web thread and only wait in a
background thread. We wait in order to ensure that we set the 'transmitting'
flag to false when they all complete. But the waiting can be done in a
background thread.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)