from the doc:
https://gist.github.com/fdmanana/832610
* >What is the recommended way to restart a replication that
* is currently in the error state?
* Edit the doc and remove the field "_replication_state".
* Or create another identical doc (same source, target, etc).