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

Carol Drummond updated ATLAS-2862:
----------------------------------
    Labels:   (was: release-notes)

> Export Service: Incremental Export: Next Increment Should Consider All 
> Existing Request Contexts
> ------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2862
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2862
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.8.3
>            Reporter: Ashutosh Mestry
>            Assignee: Ashutosh Mestry
>            Priority: Major
>             Fix For: 0.8.3, 1.2.0, 2.0.0
>
>
> *Background*
> When performing incremental Export, the existing implementation computes the 
> next increment timestamp by finding the maximum value of exported entities' 
> _modificationTimestamp_. This may work for majority of cases, however it has 
> a drawback.
> Consider a scenario where export is in progress and one of the entities that 
> has already been written to the zip stream is modified by another request, 
> this will be missed from the the subsequent export operation.
> *Solution Approach*
>  * Compute timestamps by enumerating all the requests in progress and finding 
> the earliest request. If no requests in progress, return current timestamp.
>  * Use the timestamp from step above for the change timestamp in 
> _AtlasExportResult_.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to