You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Simon Bence (Jira)" <ji...@apache.org> on 2023/06/16 08:51:00 UTC

[jira] [Created] (NIFI-11707) Registry touched twice for every sub-flow when parameter context is set

Simon Bence created NIFI-11707:
----------------------------------

             Summary: Registry touched twice for every sub-flow when parameter context is set
                 Key: NIFI-11707
                 URL: https://issues.apache.org/jira/browse/NIFI-11707
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Simon Bence


When a flow is imported from Registry and it contains other versioned flows, the current implementation recursevily resovles the references and call out for the flow content based on the version control info.

This is not to be avoided but with the current code we do an extra call if the consisted flow has groups with Parameter Context set just in order to collect the context information (was already collected but abandoned by the other call).

This is something should be handled within one call.

An other possible improvement: if the same flow (with identical version) is imported multiple times it might be beneficial to execute the request agains the Registry only once and use the result multiple times. By this, identical imports might be collected only once during an import action.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)