Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1230

Update AtlasTypeRegistry to support batch, atomic type updates

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8-incubating
    • None
    • None

    Description

      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

      Attachments

        1. ATLAS-1230.patch
          142 kB
          Madhan Neethiraj

        Activity

          People

            madhan Madhan Neethiraj
            madhan Madhan Neethiraj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: