[ 
https://issues.apache.org/jira/browse/NIFI-15904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-15904:
----------------------------------
    Fix Version/s: 2.10.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> StandardProcessSession.create() produces FlowFiles with ambigous Start 
> Lineage Index
> ------------------------------------------------------------------------------------
>
>                 Key: NIFI-15904
>                 URL: https://issues.apache.org/jira/browse/NIFI-15904
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 2.0.0, 2.9.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>             Fix For: 2.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{StandardProcessSession.create()}} method creates a new {{FlowFile}} 
> without a parent, setting the entry date and lineage start date to the 
> current time in milliseconds. The {{create()}} method does not set the 
> Lineage Start Index, keeping the default value of 0. As a result of this 
> behavior, it is possible for multiple {{FlowFile}} objects to be created with 
> the same millisecond timestamp, making the lineage order unclear. The 
> {{lineageStartIndex}} should be specified to an incrementing number to 
> provide unambiguous ordering as documented in 
> {{FlowFile.getLineageStartIndex()}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to