Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk
-
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.