Ashutosh Mestry created ATLAS-3723:
--------------------------------------
Summary: GraphSON Migrator: Avoid invoking AtlasPatchService
Post-migration
Key: ATLAS-3723
URL: https://issues.apache.org/jira/browse/ATLAS-3723
Project: Atlas
Issue Type: Improvement
Components: atlas-core
Reporter: Ashutosh Mestry
Assignee: Ashutosh Mestry
*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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)