[
https://issues.apache.org/jira/browse/NIFI-11023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654488#comment-17654488
]
ASF subversion and git services commented on NIFI-11023:
--------------------------------------------------------
Commit 660d0ed5f9abc84e225d8f0fc0209f5cffe2e1bd in nifi's branch
refs/heads/main from Csaba Bejan
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=660d0ed5f9 ]
NIFI-11023 Address socket communication instability between minifi process and
bootstrap
Signed-off-by: Ferenc Erdei <[email protected]>
This closes #6820
> 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
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)