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

When connection points to a moved port version change with NiFi Registry may throw exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.15.0
    • None
    • None

    Description

      Replication steps:
      1) create a PG with 1 input port in it (nothing else is needed)
      2) add/commit the PG to NiFi Registry (version #1)
      3) update the flow the following way: add a new PG and drag-and-drop the input port into it. Add an arbitrary processor to the outer PG and connect to the inner PG's input port
      4) commit to the registry (version #2)
      5) revert to version #1
      6) upgrade to version #2 -> upgrade fails with "Failed to perform update flow request due to Failed to update Flow on all nodes in cluster due to Cannot add Connection to Process Group because its destination is an Input Port but the Input Port does not belong to a child Process Group"

      Attachments

        Issue Links

          Activity

            People

              timeabarna Timea Barna
              timeabarna Timea Barna
              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 - 40m
                  40m