Madhan Neethiraj updated ATLAS-1230:
    Attachment: ATLAS-1230.patch

> Update AtlasTypeRegistry to support batch, atomic type updates
> --------------------------------------------------------------
>                 Key: ATLAS-1230
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1230
>             Project: Atlas
>          Issue Type: Improvement
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>         Attachments: ATLAS-1230.patch
> AtlasTypeRegistry includes methods to get/add/update types in the system. 
> While adding a bunch of types in a call, any failures might leave the 
> registry in inconsistent state - and such registry state can cause errors 
> later. Changes to the registry should be performed via a well defined API 
> call i.e. not via multiple APIs like add/update/delete types. An approach 
> similar to current typesystem, by using a transient registry, would be 
> helpful. With this, AtlasTypeRegistry will support only read methods and all 
> the changes will be made available via 
> createTransientTypeRegistry()/commitTransientTypeRegistry() calls. 
> TransientTypeRegistry will support methods to add/update types

This message was sent by Atlassian JIRA

Reply via email to