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

Nested versioned process groups do not update properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.0, 1.9.1, 1.9.2
    • 1.10.0
    • None

    Description

      Steps to reproduce:

      1. NiFi#1 Create PGA
      2. NiFI#1 Create PGB inside PGA
      3. NiFI#1 Create some processors inside PGB
      4. NIFI#1 Start version control PGB
      5. NIFI#1 Start version control PGA
      6. NIFI#2 Import a new PG and select PGA v1 (at this point the same exact flow is now in both NiFi's)
      7. NIFI#1 Go into PGB and modify the properties of some processors
      8. NIFI#1 Commit changes on PGB
      9. NIFI#1 Commit changes on PGA
      10. NIFI#2 Change version on PGA from v1 to v2 (caused PGB to be updated to v2 since PGA v2 points to PGB v2)

      At this point PGB in NIFI#2 thinks it has been updated to v2 according to the version info in flow.xml.gz, but it the actual changes from v2 have not been applied, and it shows local changes that looks like they undid what should be the real changes. Choosing to revert the local changes will actually get back to the real v2 state.

      You can also reproduce this using a single NiFi and having two instances of the same versioned process group described above, or by having a single instance of the versioned process group and changing the outer PGA back and forth between v2 and v1.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: