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

MockProcessSession sends created/cloned flowfiles to the input queue on rollback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.23.2
    • 2.0.0-M1, 1.24.0
    • Tools and Build
    • None

    Description

      This happens when flowfiles created or cloned by the processor under test are routed to a relationship and then the session is rolled back.

      Those flowfiles should be deleted rather than put on the input queue.

      The MockProcessSession implements rollback by putting all flowfiles on it's transfer map back on the input queue without regard for whether the flowfiles was created or cloned by the session.

      Attachments

        Issue Links

          Activity

            People

              esecules Eric Secules
              esecules Eric Secules
              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