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

Data Migration: Import: Infer Types that Store Edge Ids

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • 1.0.0
    • atlas-core
    • None

    Description

      Background

      Existing implementation of Data Migration needs end user to specify properties of types that need post processing.

      Post processing is essentially replacing the stored edge ids with the ones in the newly migrated database.

      This is error prone, where the creator of types may not be aware of this, and hence may forget to specify the type and property during migration. This will result in entities of the type being unusable.

      Solution

      Infer the types and the properties in following way:

      • Navigating through all the types in type registry.
      • Find attributes that have arrays with array elements as object ids.

      Pass these type-properties map to the migration process.

      This will eliminate the need for letting user specify these properties.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: