fcrepo-exts / migration-utils

An in-development framework for managing data migrations from previous versions to 4.x.
Apache License 2.0
13 stars 29 forks source link

Fcrepo 3460: Improve processing with --continue-on-error #122

Closed sprater closed 4 years ago

sprater commented 4 years ago

JIRA Ticket: https://jira.lyrasis.org/browse/FCREPO-3460

What does this Pull Request do?

Resolve problems introduced into processing state when using the --continue-on-error flag to skip errors Update README with current flags and their usage

What's new?

Clean up resources after exceptions thrown while processing an object, in order to start with a clean state for processing the next object in the queue. Documentation of --continue-on-error flag in README, other minor usage doc updates

How should this be tested?

I used a test set of 15 test objects to migrate, and deleted some datastreams from the F3 filesystem.

Additional Notes:

This PR does not address implementation of the `--max-errors feature described in the JIRA ticket.

Interested parties

@awoods @dbernstein @pwinckles