Csaba Bejan created NIFI-11023: ---------------------------------- Summary: MiNiFi - Delay in command response under heavy load causes command execution issues Key: NIFI-11023 URL: https://issues.apache.org/jira/browse/NIFI-11023 Project: Apache NiFi Issue Type: Improvement Components: MiNiFi Reporter: Csaba Bejan Assignee: Csaba Bejan
When MiNiFi is under heavy load the minifi service response to a command from bootstrap can be delayed as message written to the socket doesn't arrive at the bootstrap side. This is a problem for example when MiNiFi is under heavy load and receives a shutdown command. The shutdown response is delayed while the shutdown process is underway. After a while as the response doesn't arrive for bootstrap it considers the command execution as failed and stops. Meanwhile the long running bootstrap realises that the minifi process stopped for some reason and restarts it. So in this case the shutdown command is basically broken as minifi can't be shut down. -- This message was sent by Atlassian Jira (v8.20.10#820010)