[ 
https://issues.apache.org/jira/browse/OAK-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557380#comment-14557380
 ] 

Michael Marth commented on OAK-2893:
------------------------------------

[~baedke], I wonder about the default setting. How about making the lenient 
setting the default and making strict mode optional?
Other alternative: if strict mode is the default and a migration fails: we 
could output on stdout or the error log that the user might want to retry with 
lenient mode.
WDYT?

> RepositoryUpgrade.copy() should optionally continue on errors.
> --------------------------------------------------------------
>
>                 Key: OAK-2893
>                 URL: https://issues.apache.org/jira/browse/OAK-2893
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: upgrade
>            Reporter: Manfred Baedke
>            Assignee: Manfred Baedke
>              Labels: resilience
>
> Currently RepositoryUpgrade.copy() fails on the first error. In practice this 
> is very inconvenient, because any minor inconsistency in the source 
> repository may cause the upgrade to fail.
> An option to make best-effort copies is needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to