I’m using the Migrator class together with a bunch of macros and templates to import json files into Grakn.
Everything goes well, until it doesn’t
It seems, that when something goes wrong inserting a single entity/relation, the whole batch task goes to failed status (I can see that in the dashboard). I can get why, but I can’t seem to find anywhere what has gone wrong in the logs of the engine. I’ve been able to figure it out by using the GraphBuilder.parseTemplate and sending individual json entries, but obviously this is time consuming and not something I want to do each time something goes wrong with the input data.
Which mode does the Migrator use? Does it use batch? I’m just asking because I’m getting validation errors – that’s nice, but I thought these were disabled during batch processing.
Importing relationships can go rather slow with at least 2 matches and an insert per relation.