You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/20 17:11:05 UTC

[jira] [Commented] (NIFI-1877) FirstInFirstOut prioritizer does not work.

    [ https://issues.apache.org/jira/browse/NIFI-1877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339923#comment-15339923 ] 

ASF GitHub Bot commented on NIFI-1877:
--------------------------------------

GitHub user markap14 opened a pull request:

    https://github.com/apache/nifi/pull/546

    NIFI-1877, NIFI-1306: Add fields to FlowFile for FIFO Prioritizer, Ol…

    …dest/Newest FlowFile first prioritizers to work property

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/markap14/nifi NIFI-1877

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/546.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #546
    
----
commit fce80761f886a53ff3ad5450c3524bf8510c9ea7
Author: Mark Payne <ma...@hotmail.com>
Date:   2016-06-20T17:06:10Z

    NIFI-1877, NIFI-1306: Add fields to FlowFile for FIFO Prioritizer, Oldest/Newest FlowFile first prioritizers to work property

----


> FirstInFirstOut prioritizer does not work.
> ------------------------------------------
>
>                 Key: NIFI-1877
>                 URL: https://issues.apache.org/jira/browse/NIFI-1877
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.6.1
>            Reporter: Matthew Clarke
>             Fix For: 1.0.0
>
>
> The FirstInFirstOut (FIFO) prioritizer has no guarantee of actually working on queued FlowFile in a FIFO order.  The reliance on lastQueuedDate or time is not sufficient to guarantee order as FlowFile processed as batched will all have the same exact timestamp.  There is also inconsistency in how processors update lastQueuedDate. If a processor passes a FlowFile through without any change, Date is not updated.  This in turn affects the processing order of FlowFiles. We are finding that more and more NiFI users have specific file processing order needs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)