...
I think I'm going to need to add a timestamp column to the algorithm, and always sort on it before fetching the next batch of items to copy.
Running the migration
Currently for testing and development the only hooks for actually starting/stoping the migration are in the GUI JCRInspector. There will be some hooks added for starting it automatically on tomcat boot like other upgrade scripts do. The migration hooks are also exposed in an API so they could be triggered via quartz or a web service, etc.
TODO add API details
Testing Migration Integrity
...