ASF subversion and git services commented on COUCHDB-3199:

Commit 48996b108c458421c8a73097be152769bdc3fc48 in couchdb-couch-replicator's 
branch refs/heads/master from [~vatamane]

Let "error" replication document updates bypass the VDU function.

This is necessary in the case where an software upgrade happens with
a more restrictive VDU function. Replicator db might end up having documents
which would not pass validation anymore, leading to a replicator manager
crash when it updates the document with an "error" state.

So in case of an "error" state allow malformed document so the user can
see the error.


> Replicator VDU function doesn't acount for an already malformed document in 
> replicator db
> -----------------------------------------------------------------------------------------
>                 Key: COUCHDB-3199
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3199
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Nick Vatamaniuc
> In case when code is updated from an older version of couchdb which didn't 
> have (or had a less restrictive) VDU function. A malformed document could 
> have ended up in the _replicator database.
> Replicator will try to parse it and flag it as an error then try to update 
> the document. However the more restrictive VDU function will cause the 
> document update to crash the replicator manager.

This message was sent by Atlassian JIRA

Reply via email to