[
https://issues.apache.org/jira/browse/NIFI-12682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812173#comment-17812173
]
ASF subversion and git services commented on NIFI-12682:
--------------------------------------------------------
Commit 13271d198f8d09e5634a0923c1920ded41a84222 in nifi's branch
refs/heads/main from Ferenc Erdei
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=13271d198f ]
NIFI-12682 Fix MiNiFi agent manifest hash swaps
Signed-off-by: Ferenc Kis <[email protected]>
This closes #8309.
> [MiNiFi] agentInfo.agentManifestHash is changing between MiNiFi restarts
> ------------------------------------------------------------------------
>
> Key: NIFI-12682
> URL: https://issues.apache.org/jira/browse/NIFI-12682
> Project: Apache NiFi
> Issue Type: Bug
> Components: MiNiFi
> Affects Versions: 2.0.0-M1, 1.24.0, 2.0.0-M2
> Reporter: Ferenc Erdei
> Assignee: Ferenc Erdei
> Priority: Minor
> Labels: minifi-java
> Fix For: 1.26.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In the C2 Heartbeat request payload the agentInfo.agentManifestHash can be
> used by the C2 server to determine whether agent configuration changed
> between heartbeats and if the C2 server needs to send a DESCRIBE_MANIFEST
> request.
> Issue: the hash is changing between restart therefore an unnecessary command
> might be sent to the agent.
> Possible root cause:
> Probably linkedhashmap or linkedset is missing somewhere in the flow of the
> supported operations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)