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

When deleting a Controller Service, the references to higher-level Controller Services are not removed.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      Consider a flow where we have Process Group A. Group A has Controller Service A.

      Group A also has a child group, Group B. A Controller Service within Group B references Controller Service A.

      If said Controller Service is removed (or Group B removed), Controller Service A still holds the fact that the Controller Service was referencing it, even though the Controller Service no longer exists.

      To replicate:

      Create Process Group A. Within this group, create an AvroSchemaRegistry.

      Create Process Group B within Group A. Within Process Group B, create a JsonTreeReader and configure it to reference AvroSchemaRegistry. Now delete Process Group B. Configure Group A, then click to configure AvroSchemaRegistry. You'll see that the Controller Service still thinks JsonTreeReader is referencing it, even though the component doesn't exist.

        Attachments

          Activity

            People

            • Assignee:
              markap14 Mark Payne
              Reporter:
              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 - 20m
                20m