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

GraphSON Migrator: Avoid invoking AtlasPatchService Post-migration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • atlas-core
    • None

    Description

      Background

      GraphSON migrator migrates data from pre-1.0 Atlas versions that use TitanDB to the new versions that use JanusGraph.

      This implementation uses low-level GraphSON for data ingestion. The implementation has logic built-in such that the vertices and edges are in the correct format as the ones represented by AtlasEntity.

      The implementation is little out of date where it does not account for:

      • New unique attribute property. 
      • Classification vertex.

      To circumvent this, AtlasPatchService needs to be run post migration so that the vertices are updated with the changes above.

      Solution

      The ingestion logic could update the incoming JSON with the 2 changes above thereby eliminating need for running this service.

       

      Attachments

        Activity

          People

            amestry Ashutosh Mestry
            amestry Ashutosh Mestry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: