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

Concurrency bug can occasionally lead to allowing a group with Single FlowFile per Node input pulling in multiple FlowFiles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M1, 1.24.0
    • None
    • None

    Description

      Every now and then we see a failure in the system tests:

      BatchFlowBetweenGroupsIT.testSingleConcurrencyAndBatchOutputToBatchInputOutput ยป Timeout testSingleConcurrencyAndBatchOutputToBatchInputOutput() timed out after 5 minutes 

      Looking at the logs shows that this is happening because data enters Group A, and then before the Output Port has a chance to push the data out of Group A, a second FlowFile enters. As a result, the test fails because the queue between Groups A and B, or the connection inside of Group B, never reach the expected size.

      Attachments

        Activity

          People

            markap14 Mark Payne
            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 - 40m
                40m