Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-12682

[MiNiFi] agentInfo.agentManifestHash is changing between MiNiFi restarts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-M1, 1.24.0, 2.0.0-M2
    • 1.26.0, 2.0.0-M3
    • MiNiFi

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ferdei Ferenc Erdei
              ferdei Ferenc Erdei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m