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

FlowFile ordering can become incorrect when swapping data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • Core Framework
    • None

    Description

      NiFi provides weak ordering guarantees when using prioritizers in conjunction with swapped data. When data is swapped out, it is always the lowest priority data (according to the selected prioritizers) that is swapped out first. When data is swapped, it is always swapped back in, in the same order.

      However, I've come across a problem where data is swapped out. Then, the data that is not swapped out gets processed, then data waiting to be swapped out (lowest priority data) is processed, then the swapped data. It should always be that the lowest priority data, waiting to be swapped out, should be processed after all data that is already swapped out gets swapped back in.

      Attachments

        Activity

          People

            markap14 Mark Payne
            markap14 Mark Payne
            Votes:
            0 Vote for this issue
            Watchers:
            3 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