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

Download Flow takes long time when there are many Process Groups with Parameter Contexts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0
    • Core Framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              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 - 0.5h
                  0.5h