[ 
https://issues.apache.org/jira/browse/NIFI-11105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Witt updated NIFI-11105:
----------------------------
    Fix Version/s: 1.20.0

> Download Flow takes long time when there are many Process Groups with 
> Parameter Contexts
> ----------------------------------------------------------------------------------------
>
>                 Key: NIFI-11105
>                 URL: https://issues.apache.org/jira/browse/NIFI-11105
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.20.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When we export a flow for download, we have to serialize any referenced 
> Parameter Context as part of the JSON. To do this, we build up a collection 
> of VersionedParameterContexts. The logic that we use does this for every 
> Process Group. So if we have many small Process Groups, each bound to a 
> Parameter Context, we formulate that VersionedParameterContext every time. 
> However, there is no need to create more than one VersionedParameterContext 
> for each existing ParameterContext. This mapping becomes very expensive and 
> can take many minutes for flows that contain lots of Parameters and lots of 
> Process Groups.



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

Reply via email to