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

Updating component can unnecessarily reload component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • None
    • None

    Description

      StandardProcessorDAO, StandardControllerServiceDAO, and StandardReportingTaskDAO all have a similar updateBundle that checks if the incoming BundleDTO is not null on an update, and if so performs a reload of the component.

      There are two issues here...

      The first is that the reload should only be performed if the incoming bundle coordinate is different than the existing bundle coordinate.

      The second is that when the reload is performed, it should retain the appropriate additional classpath resources in the new classloader.

      Attachments

        Issue Links

          Activity

            People

              bbende Bryan Bende
              bbende Bryan Bende
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: